Gopal Venkataraman

updated

5 years ago

GV

Gopal Venkataraman

1 Rookie

•

10 Posts

0

3359

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.

 

  • 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

  • Test1230

    2 Posts

    2818

    0

    Posted November 8th, 2021 11:00

     Modified the playbook with the correct indentation which resolved the issues

  • Gopal Venkataraman

    1 Rookie

    •

    10 Posts

    2341

    0

    Posted 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

  • Gopal Venkataraman

    1 Rookie

    •

    10 Posts

    2363

    0

    Posted 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.

  • Gopal Venkataraman

    1 Rookie

    •

    10 Posts

    2349

    0

    Posted 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

  • Gopal Venkataraman

    1 Rookie

    •

    10 Posts

    2355

    0

    Posted 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.  
  • Gopal Venkataraman

    1 Rookie

    •

    10 Posts

    2331

    0

    Posted November 2nd, 2021 14:00

    EXEC bin sh c echo luke and and sleep 0

  • Gopal Venkataraman

    1 Rookie

    •

    10 Posts

    2331

    0

    Posted November 2nd, 2021 14:00

    Stripping all special characters and pasting :

     

  • Gopal Venkataraman

    1 Rookie

    •

    10 Posts

    2336

    0

    Posted November 2nd, 2021 14:00

    More details:  It wont take text more than 2 lines 

  • Gopal Venkataraman

    1 Rookie

    •

    10 Posts

    2330

    0

    Posted November 2nd, 2021 14:00

    No special characters either