diff options
author | Michael DeHaan <michael@ansibleworks.com> | 2013-10-11 08:45:13 -0400 |
---|---|---|
committer | Michael DeHaan <michael@ansibleworks.com> | 2013-10-11 08:45:13 -0400 |
commit | beae21dd4095322e01577c8748cb2e6cee23ddd8 (patch) | |
tree | d39189edd29232d22e523fcfeb969a5c79402f39 /web_infrastructure | |
parent | f5c04e2ff4e02873902e808a6a710c6547445fee (diff) | |
download | ansible-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/htpasswd | 2 |
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, |