Fixes bug #4546 - Made password optional (#4574)

This commit is contained in:
Arun prasath 2016-08-30 20:46:43 +05:30 committed by Matt Clay
parent bcc738bd0d
commit 7a7ac2ee83

View file

@ -41,7 +41,6 @@ options:
password:
description:
- Password for the user
- Required when I(state) is present
required: false
default: None
email:
@ -149,9 +148,6 @@ def main():
module_kwargs = openstack_module_kwargs()
module = AnsibleModule(
argument_spec,
required_if=[
('state', 'present', ['password'])
],
**module_kwargs)
if not HAS_SHADE: