Changes references to ansible_facts (FA_RA) (#61355)

This commit is contained in:
Simon Dodsley 2019-08-27 18:00:12 -04:00 committed by ansibot
parent 05afc28d08
commit 948023176e
2 changed files with 6 additions and 3 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- purefa_ra - change resulting fact dict from I(ansible_facts) to I(ra_info) (https://github.com/ansible/ansible/pull/61355)

View file

@ -38,9 +38,10 @@ EXAMPLES = r'''
purefa_ra:
fa_url: 10.10.10.2
api_token: e31060a7-21fc-e277-6240-25983c6c4592
register: result
debug:
var: ansible_facts.fa_ra
- debug:
msg: "Remote Assist: {{ result['ra_info'] }}"
- name: Disable Remote Assist port
purefa_ra:
@ -75,7 +76,7 @@ def enable_ra(module, array):
'port': ra_data['port']}
except Exception:
module.fail_json(msg='Getting Remote Assist failed')
module.exit_json(changed=changed, ansible_facts=ra_facts)
module.exit_json(changed=changed, ra_info=ra_facts)
def disable_ra(module, array):