Foreman Ansible module to create a host

Hello,

I am looking into Foreman Ansible modules but I cannot find Host resource. Is this something still missing? If this is not present, how far are we from adding this resource?

Thanks

Good morning,
I know there’s https://github.com/ATIX-AG/foreman-ansible-modules/tree/add_host_module but I have not idea what state it is in. Maybe @x9c4 knows more?

There have been several attempts to do this. The problem is, that the host entity is such a central part in foreman, that you need almost all other entities ready to write a testcase that instantiates a new host.
I guess it’s time for the next hacking session (Last time the switch to the new ansible version consumed all day.). :wink:

Thanks for info, I actually want to create all resources outside of Ansible and specifically interested only in host creation.