Closed MeghnathShinde closed 6 months ago
Hi @MeghnathShinde,
Is there a reason to be running python 2.7.5 (end of life)?
Could you retry with a version 3.2 or higher of python, preferably 3.9+?
See also, https://github.com/CiscoDevNet/ansible-aci/issues/651 for additional information on format_map() function.
Kind regards,
Akini
Hi @MeghnathShinde, were you able to resolve the issue by using a higher python version?
Yes Akini, Issue resolved post upgrading python. Thanks for your support.
[user01@centos7-tools1 dCloud_ACI_Automation]$ ansible-playbook newTenant.yaml -vvv ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/home/user01/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Apr 9 2019, 14:30:50) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] Using /etc/ansible/ansible.cfg as config file host_list declined parsing /etc/ansible/hosts as it did not pass its verify_file() method script declined parsing /etc/ansible/hosts as it did not pass its verify_file() method auto declined parsing /etc/ansible/hosts as it did not pass its verify_file() method Parsed /etc/ansible/hosts inventory source with ini plugin Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback.
PLAYBOOK: newTenant.yaml ** 1 plays in newTenant.yaml
PLAY [Create a complete tenant on ACI using hierarchical variables] *** META: ran handlers
TASK [create tenant on ACI using aci_tenant module] *** task path: /home/user01/dCloud_ACI_Automation/newTenant.yaml:31