Forum Discussion

gajanan_mudalia's avatar
3 years ago

Hello, I am getting an error in ansible .ansible/collections/ansible_collections/purestorage/flasharray/plugins/module_utils/purefa.py

Hello, I am getting an error in ansible .ansible/collections/ansible_collections/purestorage/flasharray/plugins/module_utils/purefa.py module when the following ansible-playbook is run ```- hosts: localhost gather_facts: true collections: - purestorage.flasharray vars: src_fa_url: <renamed-pure_name> src_api_token: <hidden> tasks: - name: Get source FlashArray info purefa_info: gather_subset: - minimum - network - interfaces fa_url: "{{ src_fa_url }}" api_token: "{{ src_api_token }}" register: src_array_info``` The code is breaking in “def get_system(module):” function in purefa.py The following code runs fine with PurityOS 5.3.12 but gives an error in 6.2.6 Is there any quick fix for this??
No RepliesBe the first to reply