Variables in Ansible
Variables are used to store values that can be later used in the playbook.
Host variable
We will use our default inventory file - /etc/ansible/hosts
In this inventory file, we will define 2 variables for server 2
Demo Inventory file - s...
devopswithcj.com6 min read