This is a small Tutorial/Exercise to understand the static inventory file in the ansible. This should give a basic idea of how it works.
Tag: Ansible Playbook
Introduction to Ansible Loops
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.
Ansible Conditional Playbook to install Apache2
In this post we will be seeing how to use "when" conditional operator to install Apache2 on Debian and RedHat family.
Ansible Playbook to copy files from one server to other
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.
How to write Ansible Playbook
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 Service is not Idempotent in Nature — Make it using Ansible
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.
You must be logged in to post a comment.