Ansible – Adding variables in main playbook. Or importing from a different playbook
Variables hold values that can be used when playbooks are executed. It can be defined in: Inventory file (host scope) Playbook (play scope) Defined globally (global scope) Play scope In the below example variables are…