summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun prasath <bingoarunprasath@users.noreply.github.com>2016-08-30 20:46:43 +0530
committerDavid Shrewsbury <Shrews@users.noreply.github.com>2016-08-30 11:16:43 -0400
commit0d98760b4988a27dd76a757b72c25b1e9f339c87 (patch)
tree948420ee48e4891074288d705712001799e55924
parent8f963a7028360d6a45f609fe201c2b60aa4c2f62 (diff)
downloadansible-modules-core-0d98760b4988a27dd76a757b72c25b1e9f339c87.tar.gz
Fixes bug #4546 - Made password optional (#4574)
-rw-r--r--cloud/openstack/os_user.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/cloud/openstack/os_user.py b/cloud/openstack/os_user.py
index 1e148e3d..19c98499 100644
--- a/cloud/openstack/os_user.py
+++ b/cloud/openstack/os_user.py
@@ -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: