Closed colinet closed 1 year ago
see #408
The 1.19.1 collection was installed in my home directory on top of the standard ansible installation.
It is used as per the stack trace: /home/rcolinet/.ansible/collections/ansible_collections/purestorage/flasharray/plugins/modules/purefa_logging.py
It then calls /usr/local/lib/python3.9/site-packages/pypureclient/flasharray/FA_2_17/models/fixed_reference.py which is located in the standard ansible collections location.
I tested the commited change by modifying the code directly on my host. It works. :-)
Describe the bug Module error within purefa_logging of Ansible Pure collection version 1.19.1
To Reproduce Steps to reproduce the behavior:
1/ Install Ansible Pure collection for flasharray
2/ Run below playbook:
Playbook triggers below stack trace:
Expected behavior The equivalent of CLI output for
pureaudit
list was expectedAdditional context Context is:
OS used [xxxxx@xxxxx~]$ uname -a Linux xxxxx 5.14.0-162.23.1.el9_1.x86_64 Thu Mar 23 20:08:28 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux
ansible version [xxxxx@xxxxx~]$ ansible --version ansible [core 2.11.9] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/rcolinet/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible ansible collection location = /home/rcolinet/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible python version = 3.9.14 (main, Jan 9 2023, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 3.1.2 libyaml = True.
Pure collection [xxxxx@xxxxx~]$ ansible-galaxy collection list |grep pure purestorage.flasharray 1.19.1 purestorage.flasharray 1.11.0 purestorage.flashblade 1.8.1