mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Remove examples of module antipattern of setting the choices array for boolean types.
This commit is contained in:
@@ -144,7 +144,7 @@ def main():
|
||||
payload = dict(required = True),
|
||||
client_id = dict(default = None),
|
||||
qos = dict(default="0", choices=["0", "1", "2"]),
|
||||
retain = dict(default='no', choices=BOOLEANS, type='bool'),
|
||||
retain = dict(default=False, type='bool'),
|
||||
username = dict(default = None),
|
||||
password = dict(default = None),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user