1.) Automatically detect new systems and logically add them to a group
2.) If no Agent is found to be running, then to have Ansible Tower run a job to set it up
3.) Create a collection of playbooks that can be used for auto remediation
Continue reading “Auto Remediation with Zabbix and Ansible Tower Part 1”
We want to be able to add a custom dynamic inventory into Ansible Tower, I am going to do this for Service Now but the following method can be used with any.
Continue reading “Add Custom Dynamic Inventory in Ansible Tower ( ServiceNow )”
From the previous 2 parts we have set up Satellite and created our Ansible Playbooks, now we want to put it all together on Tower by creating the Job Templates and Workflows to make this happen.
Continue reading “Auto Patch schedule with Satellite 6.3 and Ansible Tower Part 3”
In Part one we went over the setup of Satellite and Katello-cvmanager to perform the publish and promote in Satellite.
Now we want to create the playbooks that Ansible Tower with use in order to patch the servers and then setup the next lifecycle environment.
You want to create these playbooks, You can skip this section and grab them from my github repo HERE but as always understand what is being done before you just run them.
Continue reading “Auto Patch schedule with Satellite 6.3 and Ansible Tower Part 2”
When it comes to Satellite the flow to patch our life cycle environments feels like a very manual process, after our sync plan completes, I need to publish a new version and then promote this through my environments ( Dev, QA, Prod etc ) What I want is this to be fairly hands off and have it done in the background automatically for me. And so let’s go over the steps needed to achieve this. Continue reading “Auto Patch schedule with Satellite 6.3 and Ansible Tower Part 1”
I have come up many times where people request to be able to create AD DNS A Records or CNames for Linux Servers that are not going to be joined to the domain, I will go through how we can use Ansible Tower to do this for us. This is very similar to the AD Computer object however we also need to get the IP address as an extra variable for an A Record.
Continue reading “CloudForms create AD DNS with Ansible”
I often get asked to setup CloudForms to create AD Computer objects, this will show how to do this with Ansible Tower, the interesting issue we face is CloudForms by default sends the vm name as the limit field but for this we want to run the playbook on a set host and pass the vm name as a variable.
Continue reading “CloudForms create AD Computer Objects with Ansible”
Due to the nature of Ansible when we work with Windows we no longer use SSH but instead WinRM. The default nature of Ansible is to use SSH, and to resolve this we need to specify the group of Windows servers to use WinRM instead of SSH.
Simple enough but we will need to automate this entire process. Continue reading “AutoTag Windows Servers in CloudForms”
CloudForms now allows us to bring in Automate domains via Git, this is very useful as it gets around having to download a zip and then upload it, and we now have the ability to refresh them within CloudForms or change branches i.e lock it to the exact version of CloudForms we are using. Continue reading “CloudForms Automate Via Git”
This is a small guide to go through how to integrate Tower into CloudForms 4.5 as there are some issues with it out of the box.
Fix Missing Ansible Tower Job Launcher
Continue reading “CloudForms 4.5 Ansible Tower Fixes”