Ansible with VMware – change a line in a file– Part 15
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…
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…