Remove examples of module antipattern of setting the choices array for boolean types.

This commit is contained in:
Michael DeHaan 2013-10-11 08:45:13 -04:00
commit 119b6d73dd
13 changed files with 13 additions and 16 deletions

View file

@ -177,7 +177,7 @@ def main():
argument_spec = dict(
name = dict(required=True, aliases=['pkg']),
state = dict(required=False, default='present', choices=['absent', 'installed', 'latest', 'present', 'removed']),
disable_gpg_check = dict(required=False, default='no', choices=BOOLEANS, type='bool'),
disable_gpg_check = dict(required=False, default='no', type='bool'),
),
supports_check_mode = False
)