In this post we will be seeing how to use Ansible Loops, Sometimes you want to repeat a task multiple times. In computer programming, this is called a loop. Common Ansible loops include changing ownership on several files and/or directories with the file module, creating multiple users with the user module, and repeating a polling step until a certain result is reached.
In this post we will be seeing how to use “when” conditional operator to install Apache2 on Debian and RedHat family.
In the previous post we have seen how to write Ansible Playbook, In this post we will be seeing how we can copy files from one server to other using Ansible copy module.
and Installation. Now we will be seeing What is Ansible Playbook and how do we write one. We will be installing git using Ansible Playbook.
HTTPD Services is not idempotent in nature and also consume more resources . So, In this article we are going to see how to make HTTPD service idempotent in nature using automation tool Ansible.