Upgrade Foreman from V1.2 to V3.0

You could look into re-engineering your Foreman setup using Ansible, that way you can re-created it anytime at a whim (e.g. to test upgrades, or to do a disaster recovery etc.)

You can find the modules here: Theforeman.Foreman — Ansible Documentation
I wrote a blog post about it a while ago: Foreman :: Foreman Config as Code

This is another blog about integrating it with AWX and FreeIPA: Foreman :: Automating Systems with Foreman, AWX, and FreeIPA

And IMHO, this is the only sound way of doing this, as you don’t want to have your infrastructure’s health depending on some configuration you made by hand with a lot of effort. There’s a lot of merit in automating it away.

Manual configs are only useful if you’re still figuring out how to automate it :slight_smile: but in the long run, even the time you invested in automation will return itself more then once.

1 Like