Hello Folks,
Trying to do a basic example for roles for generating configs. I cannot get to pass the variable to the tasks. Any help is appreciated.
$ ansible --version
ansible 2.4.2.0
config file = /home/cisco/ansible.cfg
configured module search path = [u’/home/cisco/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’]
ansible python module location = /usr/lib/python2.7/dist-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.12 (default, Nov 20 2017, 18:23:56) [GCC 5.4.0 20160609]
$ more roles/router/tasks/main.yml