To take a quote of @Thulium-Drake here
Manual configs are only useful if you’re still figuring out how to automate it
but in the long run, even the time you invested in automation will return itself more then once.
While I understand the benefits, to me, there’s the problem that when you start with foreman/katello/puppet/ansible and you are not already well-versed in ansible, you’ll start with the things at hand and not setting up a complex infrastructure which would allow you to install and configure the whole ecosystem automatically. I have moved from spacewalk, so my first interest was foreman/katello. Later I included puppet, mostly, because it came with foreman.
Of course, it was all manual configuration from the beginning, because I have tried to figure out how it works and what is a reasonable setup, in particular in regard to katello products, repositories, content views, life cycles etc… There are various ways how to organize it and no clear path what’s the best approach let alone what suits you best…
So yes, it’s manual. And by now, I have a system I like and understand. But it’s only manual configuration. Automation of foreman sounds like a very good idea, e.g. to quickly set up a test environment. But getting my current system automated with ansible, in particular as I am a complete ansible newbie??
Just for the content management alone I currently have 29 products with 120 repositories. And then lots of subnets, classes, parameters, activation keys, repositories sets, and on top of that a few host group or host dependent manual configurations. Only thinking about the amount of work to get all this information into ansible causes me headache…
Now, to come to my point: if there was a tool which would generate the ansible playbook(s) to automate my current configuration, that would be a huge leap. A tool which I could tell, write up my 29 products and 120 repos so that I can regenerate that, if necessary. That would be extremely helpful. I would have lots of examples how to add more if I need it. With that tool I could generate part after part and eventually have everything together…
So to me, that kind of tool is currently missing and keeps me from really going for automating foreman/katello with ansible, because right now, I don’t want to copy all that information together into an ansible playbook. That would just feel like a huge waste of my time…
I honestly have no idea if this was possible or how much effort it would be to create a tool like this. But I would be very grateful if I had something like that, because without it, I am not sure if I will ever tackle this… Or am I naive to hope for something like this?