Start a Conversation

Solved!

Go to Solution

1 Rookie

 • 

10 Posts

3157

November 2nd, 2021 10:00

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.

 

1 Rookie

 • 

79 Posts

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

2 Posts

November 8th, 2021 11:00

 Modified the playbook with the correct indentation which resolved the issues

1 Rookie

 • 

10 Posts

November 2nd, 2021 13:00

More details :TASK [Gathering Facts] task path: /home/luke/Unity/EMC_Unity_healthchecks.yml:2
ESTABLISH LOCAL CONNECTION FOR USER: luke

1 Rookie

 • 

10 Posts

November 2nd, 2021 13:00

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.

1 Rookie

 • 

10 Posts

November 2nd, 2021 13:00

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

1 Rookie

 • 

10 Posts

November 2nd, 2021 13:00

Unable to add more details to the thread.  Dell Community Admins please check. Getting this error message :

  1. Sorry, unable to complete the action you requested.  

1 Rookie

 • 

10 Posts

November 2nd, 2021 14:00

EXEC bin sh c echo luke and and sleep 0

1 Rookie

 • 

10 Posts

November 2nd, 2021 14:00

Stripping all special characters and pasting :

 

1 Rookie

 • 

10 Posts

November 2nd, 2021 14:00

More details:  It wont take text more than 2 lines 

1 Rookie

 • 

10 Posts

November 2nd, 2021 14:00

No special characters either 

1 Rookie

 • 

10 Posts

November 2nd, 2021 14:00

EXEC binsh c umask 77  mkdir p echo home luke .ansible/tmp  
 mkdir  echo home luke.ansible tmp ansible-tmp-1635773752.600944 7921 
177993343575954  echo ansible-tmp-1635773752.600944-7921 177993343575954 
echo /home luke .ansible/tmp ansible-tmp-1635773752.600944-7921 177993343575954  

November 8th, 2021 01:00

Hi Gopal,

Can you please share the playbook that you are executing?

No Events found!

Top