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:
parent
a59ce3a7f9
commit
ca9387dc0b
1 changed files with 1 additions and 1 deletions
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue