Ansible Automation : Unable to load UNITY modules and execute Playbooks
connecting to UNITY 400
Playbook is unable to load the Ansible UNITY modules and unable to execute the playbooks connecting to UNITY 400. The vars and tasks section of the playbook have been appropriately updated. More details can be provided to responders. Thanks.
Could you please confirm if this issue is same as SR#22279023 for CELGENE, INC Site ID 13785587 with Severity (S3) for which we have provided the fix over email which included changes to yml playbook file?
I am using dellemc_unity_gatherfacts Ansible Module for EMC unity and Playbook is executed but there is no output.
It is not able to point to right module (Using module file /usr/lib/python3.7/site-packages/ansible/modules/setup.py
Please check below logs and advice
$ ansible-playbook EMC_Unity_healthchecks.yml -vvv ansible-playbook [core 2.11.3] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/luke/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.7/site-packages/ansible ansible collection location = /home/luke/Unity:/home/luke/.ansible/collections executable location = /usr/bin/ansible-playbook python version = 3.7.10 (default, May 5 2021, 11:43:58) [GCC 10.2.0] jinja version = 2.11.2 libyaml = True 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 redirecting (type: callback) ansible.builtin.yaml to community.general.yaml redirecting (type: callback) ansible.builtin.yaml to community.general.yaml Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback.
More details (continued) PLAYBOOK: EMC_Unity_healthchecks.yml 1 plays in EMC_Unity_healthchecks.yml [WARNING]: Found variable using reserved name: tasks PLAY [Gatherfacts Module Operations on Unity] TASK [Gathering Facts] task path: /home/luke/Unity/EMC_Unity_healthchecks.yml:2
jennifer_john
1 Rookie
•
79 Posts
2857
0
Posted November 8th, 2021 01:00
Hi Gopal,
Could you please confirm if this issue is same as SR#22279023 for CELGENE, INC Site ID 13785587 with Severity (S3) for which we have provided the fix over email which included changes to yml playbook file?
Thanks,
Jennifer