summaryrefslogtreecommitdiff
path: root/web_infrastructure
diff options
context:
space:
mode:
authorMichael DeHaan <michael@ansibleworks.com>2013-10-11 08:45:13 -0400
committerMichael DeHaan <michael@ansibleworks.com>2013-10-11 08:45:13 -0400
commitbeae21dd4095322e01577c8748cb2e6cee23ddd8 (patch)
treed39189edd29232d22e523fcfeb969a5c79402f39 /web_infrastructure
parentf5c04e2ff4e02873902e808a6a710c6547445fee (diff)
downloadansible-modules-core-beae21dd4095322e01577c8748cb2e6cee23ddd8.tar.gz
Remove examples of module antipattern of setting the choices array for boolean types.
Diffstat (limited to 'web_infrastructure')
-rw-r--r--web_infrastructure/htpasswd2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_infrastructure/htpasswd b/web_infrastructure/htpasswd
index a634fb62..3de636d3 100644
--- a/web_infrastructure/htpasswd
+++ b/web_infrastructure/htpasswd
@@ -178,7 +178,7 @@ def main():
password=dict(required=False, default=None),
crypt_scheme=dict(required=False, default=None),
state=dict(required=False, default="present"),
- create=dict(type='bool', choices=BOOLEANS, default='yes'),
+ create=dict(type='bool', default='yes'),
)
module = AnsibleModule(argument_spec=arg_spec,