Skip to content
Snippets Groups Projects
Commit 1bebc6c4 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

ipaserver/library/ipaserver_master_password.py: Renamed name of password return

With using the name password for the password return it will be hidden
automatically and an error message will still be visible.
parent d84a1993
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ EXAMPLES = '''
'''
RETURN = '''
value:
password:
description: The master password
returned: always
'''
......@@ -87,7 +87,7 @@ def main():
options.master_password = ipa_generate_password()
module.exit_json(changed=True,
value=options.master_password)
password=options.master_password)
if __name__ == '__main__':
main()
......@@ -103,9 +103,8 @@
register: ipaserver_master_password
- name: Install - Use new master password
no_log: yes
set_fact:
ipaserver_master_password: "{{ ipaserver_master_password.value }}"
ipaserver_master_password: "{{ ipaserver_master_password.password }}"
when: ipaserver_master_password is undefined
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment