Fix variable name to return to match latest pyez pos version (#21717)
This commit is contained in:
parent
0141c0c336
commit
9634f1e9c9
1 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue