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.
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.
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
Having CloudForms/ManageIQ provision servers is great but we want to be able to see the creation include any standards or applications at the end state. Typically in the past we added into the template a script to run when it starts up, this can include Puppet or Chef Agents that will talk back to the Master and ask what is needed to complete the build based off its hostname of custom facts on the instance. But not everyone has an existing configuration management framework already in place. Now with Ansible this is simple to achieve.
( This has been tested with PHPIPAM version 1.2 on ManageIQ Dharma and Cloudforms 4.1 with the gem httparty 1.13 and ManageIQ Eureka and Cloudforms 4.2 with the gem httparty 1.14.) Continue reading “IPAM Automation with Cloudforms & ManageIQ”
This is based off the guide found at PHPIPAM
Here is a full guide on how to install phpIPAM on CentOS 7. This should work on all RHEL based distributions. For this guide I used completely fresh install of CentOS 7, we will do step by step guide for all applications needed for phpIPAM to run. Continue reading “PHPIPAM Setup on CentOS 7”
We are going to set up a Service Catalog and create our first catalog item, this will run through how we create an item out of the box to request and have ManageIQ build a Server for us.
Our first step is to provision a new vm from a template we have already created, I wont go into how to create a template in Ovirt but do make sure that you have installed the cloud-init and ovirt-guest-agent packages on the template.
Continue reading “ManageIQ Pt3 Deploy a Template”