Summary: This article demonstrates a way to auto download and install the MID server files from ServiceNow using Ansible on the localhost. This allows you to leverage Ansible easily by passing ServiceNow workflows to Ansible which is already installed on the MID server. Although this solution installs the MID server local, the role from ServiceNow […]
This post describes a technique for using Ansible variables to create a menu driven request for vSphere VMs and allowing for "t-shirt sizes" to govern CPU and memory. This technique could be used to size system disks as well as other enhanced request offerings for menu driven requests. This post also shows examples of vars_prompt, […]
Goal: Have Ansible manage the department based groups in an organization. The goal is to use the user department attribute in AD to maintain department based group membership for the organization. Requirements: Ansible – I am using 2.8.5 An AD account that can and create update AD groups Pywinrm installed on the Ansible control node […]
Basic on Playbooks – Plays are a collection of key value pairs. Keys in the same pair should share the same indentation. Playbooks are YAML files with the .yml file extension. Indentation is super important and the indention should be configured in vim. The indentation is based on two spaces. – For better vim editing […]
This should be short but I have trouble finding this every time I look for it. So I am writing about it here because it took me forever to find it in the first place. From Dashboard go to Inventories – Or just go to Inventories Click on the Inventory to target for host list […]
We want to have a new org implemented in Tower tied to AD groups and Teams built to assign permissions to Job Templates, also using AD Groups.
Not too long ago I built a little Vagrant sandbox for VirtualBox with Ansible so that I could develop and test playbooks while offline from the lab and on my laptop. Here is a link to the github repo. https://github.com/mccbryan3/vagrant-ansible-sandbox Vagrant repo stuff changes so please check the Vagrantfile for image availabliltiy. vagrant destroy -f […]