Fix variable name to return to match latest pyez pos version (#21717)

This commit is contained in:
Damien 2017-02-22 13:46:30 -08:00 committed by Peter Sprygada
parent 0141c0c336
commit 9634f1e9c9

View file

@ -106,8 +106,8 @@ def aos_login(module):
module.fail_json(msg="AOS-server login credentials failed") module.fail_json(msg="AOS-server login credentials failed")
module.exit_json(changed=False, module.exit_json(changed=False,
ansible_facts=dict( aos_session=dict(url=aos.api.url, headers=aos.api.headers)), ansible_facts=dict(aos_session=aos.session),
aos_session=dict(url=aos.api.url, headers=aos.api.headers)) aos_session=dict(aos_session=aos.session))
def main(): def main():
module = AnsibleModule( module = AnsibleModule(