Ansible playbook variables
we can declare and define a variable in playbooks.
within the file declaring and defining a variable
vars:
pName: tree
---
- hosts: all
connection: ssh
vars:
pName: tree
tasks:
- name: installing tree in slave-1
...
vishalsiripruam.hashnode.dev2 min read