mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
Remove examples of module antipattern of setting the choices array for boolean types.
This commit is contained in:
parent
a9225d0c7a
commit
119b6d73dd
13 changed files with 13 additions and 16 deletions
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue