When the values passed to gather_subset include "all" "hosts" or "hgroups" the module fails in
/ansible_collections/purestorage/flasharray/plugins/modules/purefa_info.py\", line 1289, in generate_host_dict\
or
ansible_collections/purestorage/flasharray/plugins/modules/purefa_info.py\", line 2080, in generate_hgroups_dict\
purefa_info fails on certain parameters
When the values passed to gather_subset include "all" "hosts" or "hgroups" the module fails in /ansible_collections/purestorage/flasharray/plugins/modules/purefa_info.py\", line 1289, in generate_host_dict\
or
ansible_collections/purestorage/flasharray/plugins/modules/purefa_info.py\", line 2080, in generate_hgroups_dict\
To Reproduce
_purestorage_min_info.yml
roles/purestorage_min_info/tasks/main.yml
If you use hosts or all you will get this error message:
If you use hgroups you will get this: