First of all, great work on this suite of tools, I really like how it works and what it’s capabilities are!
Following the release of the Ansible Modules for Foreman, I dug in and made a thing. It’s purpose is to apply Infrastructure as Code to Foreman (and it also does Satellite) as well! See for yourself:
It only works in Ansible 2.10 and up, but it is capable of configuring a complete Foreman environment ready to start deploying things! It probably does not cover all usecases, but I think it will help with ‘typical’ deployments.
Notable missing features:
Configuring locations for Smart Proxies, there is no module as of this time to do that.
Would you consider typing up a blog about this @evgeni has contributed several blogs about his efforts, and I think the wider community would be very interested! It will also help get more eyes on this for you!
This looks real nice.
FWIW: There is a smart proxy module now. I think it’s not yet released to galaxy, but it would be great to know whether it’s solving the “missing feature issue” for you.
We are planning to move all our existing shell/hammer scripts we use for configuration and maintenance, to instead all be based on the new foreman modules collection for ansible asap.