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:
@@ -1372,7 +1372,7 @@ def main():
|
||||
# following options are specific to usermod
|
||||
append=dict(default='no', type='bool'),
|
||||
# following are specific to ssh key generation
|
||||
generate_ssh_key=dict(choices=BOOLEANS, type='bool'),
|
||||
generate_ssh_key=dict(type='bool'),
|
||||
ssh_key_bits=dict(default=ssh_defaults['bits'], type='str'),
|
||||
ssh_key_type=dict(default=ssh_defaults['type'], type='str'),
|
||||
ssh_key_file=dict(default=None, type='str'),
|
||||
|
||||
Reference in New Issue
Block a user