Foreman Config as Code (Automaton? :-))

Hi all!

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.

Looking forward to your feedback!

Cheers

Jeff

P.S: It’s also on Galaxy!

9 Likes

Hey @Thulium-Drake

This is fantastic, thank you!

Would you consider typing up a blog about this :slight_smile:
@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!

impressive work Jeff, thanks for sharing!

1 Like

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.

1 Like

Awesome! I will check it out soon! I have been looking around the github repo and I saw some folks already worked on it, but I missed this one!

I’ll look into it! :slight_smile:

1 Like

Thanks a ton @Thulium-Drake!

We should see if we can migrate parts of this into an official collection :wink:
(cc @ehelms)

4 Likes

You’re most welcome! :wink:

Awesome, that would be great!! :smiley:

1 Like