Job Templates with Ansible
Hi Gurus,
I am re writing bash patch scripts for remote execution in job templates for applying patching etc. in Satellite 6.2.11.
My question , can I use Ansible scripts inside the job templates if yes can some one point me in right direction. I don't have Ansible tower
Regards
Responses
We don't have Ansible Tower, however, we use the free (EPEL) Ansible heavily with one customer who insisted on CentOS. That being said, the Ansible playbooks could be used for systems that are subscribed to a Red Hat Satellite. I'd recommend (of course) heavy testing.
To your exact question, while we use Ansible on one specific network with patching, I'm not sure what you mean with "job templates" (do you mean the Satellite's native jobs?). We didn't use that native jobs method because of the insufferable security issue of ascribing the forman account to the wheel group with no password sudo directive. We use various Ansible playbooks for one of our customers for patching. Test it a lot.
There are methods to push jobs through the Red Hat Satellite, it does involve using forman accounts. We're liking Ansible playbooks so far.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
