1 Rookie
•
2 Posts
0
1764
September 8th, 2021 08:00
Ansible 1.2 Module for Unity
i have an issue when i am trying to install the Collection of the Unity 1.2 Modules, it doesn't work at all,
ansible 2.9.25
config file = /home/ansible/ansible.cfg
configured module search path = ['/home/ansible/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.6/site-packages/ansible
executable location = /usr/bin/ansible
python version = 3.6.8 (default, Mar 18 2021, 08:58:41) [GCC 8.4.1 20200928 (Red Hat 8.4.1-1)]
Error:
ansible-doc dellemc.unity.dellemc_unity_gatherfacts
[WARNING]: module dellemc.unity.dellemc_unity_gatherfacts not found in: /home/ansible/.ansible/plugins/modules:/usr/share/ansible/plugins/modules:/usr/lib/python3.6/site-packages/ansible/modules
Tried to add new Environmental Variable with no luck is there any set of steps to be able to run this module am using below Yaml with no luck as well.
- name: Gatherfacts Module Operations on Unity
hosts: localhost
connection: local
vars:
unispherehost: '10.xx.xx.xx'
port: '443'
verifycert: False
username: 'admin'
password: 'Password123!'
tasks:
- name: Get detailed list of Unity entities
dellemc_unity_gatherfacts:
unispherehost: "{ {unispherehost}}"
username: "{ {username}}"
password: "{ {password}}"
verifycert: "{ {verifycert}}"
gather_subset:
- storage_pool
collections:
- dellemc.unity
events found

