Ansible with VMware – initial config for a server – Part 17
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.…
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…
This blog I will upgrade ubuntu, update all packages, only target ubuntu nodes using the ‘when’ command and run multiple tasks. Here are my two yml files tested and working…
In this blog I will remove and install vlc player on my ubuntu box from the ansible control node and skip centos OS boxes. I will create two yml files…