Foreman is a great tool to automate all the things around your infrastructure, but how can you automate Foreman itself?
Using Ansible and the Foreman Ansible Modules of course!
Foreman is essentially a Ruby on Rails application. A big one. And Ruby on Rails applications usually support multiple relational databases thanks to ActiveRecord stack. That’s also the case for Foreman. But it’s not that easy.