Now that our ansible configuration is complete, let's learn more about ansible configuration file which we have not used till now. An Ansible configuration file uses an INI format to store its configuration data. In
After installing ansible now in this section we will setup our Ansible environment and configure our controller and managed nodes. Create normal user This is important as we will use this user to perform
The important terminologies which we have in an Ansible Architecture: Control node Any machine with Ansible installed. You can run commands and playbooks, invoking /usr/bin/ansible or /usr/bin/ansible-playbook, from any control node. You can use
There are different methods using which you can install ansible Using default package manager such as yum, dnf, apt etc Using pip Using source compile file Install using package manager on RHEL 8 First
In this section we will use ansible to create new EC2 instances on AWS and further work on these instances. These operations can be completely automated using ansible. Setup Environment for AWS provisioning We
In this article we will create ansible role from scratch using ansible galaxy init. In our earlier article I gave you an overview on ansible role directory structure. Now we will use that directory structure
In this article I will give you an overview on Ansible Roles directory structure. When working with Ansible it is recommended to use project directories so that contents can be organised in a consistent way.
Let us continue our Ansible Tutorial with Ansible vault. Ansible version 2.3 supports encrypting single variables using an Ansible single encrypted variable with the !vault tag. In this article we will see some ansible vault