mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Pure Storage facts fix (#50349)
* Add module for Pure Storage FlashBlade to manage directory services * Fix facts not correctly passing into ansible_facts dict
This commit is contained in:
parent
eac35c68df
commit
507f89e693
3 changed files with 5 additions and 6 deletions
|
@ -675,9 +675,7 @@ def main():
|
|||
if 'offload' in subset or 'all' in subset:
|
||||
facts['offload'] = generate_offload_dict(array)
|
||||
|
||||
result = dict(ansible_purefa_facts=facts,)
|
||||
|
||||
module.exit_json(**result)
|
||||
module.exit_json(ansible_facts={'ansible_purefa_facts': facts})
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue