Ansible with VMware – host variables and handler – Part 19
Host variables can be used to manage host at a another level by defining the variable or a name to define what you want it to do. Here I will…
Host variables can be used to manage host at a another level by defining the variable or a name to define what you want it to do. Here I will…
Roles is about organizing your playbooks into a more organized look and feel. Instead of having one playbook for everything you can break it up.The groups in my inventory.ini file…
As a example we would want to do the following for our initial builds on our servers or desktop fleet but this list can be modified to your business needs.…
The purpose of this blog is to add a new user across all the manage nodes, make the user sudo, add ansible public key to the user so it can…
We have a file on a managed node and we want to change the line within the file. For example on the remote box this file structure exists. So we…
Working with services you can start, restart, stop and enable services from ansible. Below example Here I will install apache2 and then stop the apache2 service but enable the service.…
Here we will install unzip, get a zip file from a URL and unzip and install at the destination location. Below is the example code screenshots below before and after…
I am going to replace a file on the destination end. I will replace the index.html on a Ubuntu apache2 which is the front end webpage with my own one.I…
Tags are essentially labels or keywords that can help identify and organize the running of your playbooks. So if your are going to install a program in a section in…
So installing multiple apps in your playbook helps consolidate your playbook, makes it run faster and it is easier to read. Below is an example. The below variable example is…