mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Remove examples of module antipattern of setting the choices array for boolean types.
This commit is contained in:
@@ -341,7 +341,7 @@ def main():
|
||||
state=dict(default='present', choices=['present', 'absent'], type='str'),
|
||||
name=dict(required=True, type='str'),
|
||||
gid=dict(default=None, type='str'),
|
||||
system=dict(default='no', choices=['yes', 'no'], type='bool'),
|
||||
system=dict(default=False, type='bool'),
|
||||
),
|
||||
supports_check_mode=True
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user