1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Pop password from os_user params

The password param conflicts with os-client-config's password grabbing.
The rest of the params really probably should also be popped - but
keeping this just to password for now. Will follow up with a change that
does an audit of all the os_ modules

This patch was previously contributed by @emonty to the former
ansible-modules-core repo however since the merge, it was closed
and not completed.  This patch includes the necessary changes cleaned
up to work with the latest release of Ansible.  This has been
tested to work internally
This commit is contained in:
Mohammed Naser 2017-01-14 08:32:27 -05:00
parent a59ce3a7f9
commit ca9387dc0b

View file

@ -201,7 +201,7 @@ def main():
module.fail_json(msg='shade is required for this module')
name = module.params['name']
password = module.params['password']
password = module.params.pop('password')
email = module.params['email']
default_project = module.params['default_project']
domain = module.params['domain']