1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Bulk update of choices=BOOLEANS to type='bool'

This commit is contained in:
Richard C Isaacson 2014-03-11 22:46:53 -05:00
parent f1301f6fd9
commit 86adb60a82

View file

@ -642,11 +642,11 @@ def main():
argument_spec = rax_argument_spec() argument_spec = rax_argument_spec()
argument_spec.update( argument_spec.update(
dict( dict(
auto_increment=dict(choices=BOOLEANS, default=True, type='bool'), auto_increment=dict(default=True, type='bool'),
count=dict(default=1, type='int'), count=dict(default=1, type='int'),
count_offset=dict(default=1, type='int'), count_offset=dict(default=1, type='int'),
disk_config=dict(choices=['auto', 'manual']), disk_config=dict(choices=['auto', 'manual']),
exact_count=dict(choices=BOOLEANS, default=False, type='bool'), exact_count=dict(default=False, type='bool'),
files=dict(type='dict', default={}), files=dict(type='dict', default={}),
flavor=dict(), flavor=dict(),
group=dict(), group=dict(),
@ -658,7 +658,7 @@ def main():
networks=dict(type='list', default=['public', 'private']), networks=dict(type='list', default=['public', 'private']),
service=dict(), service=dict(),
state=dict(default='present', choices=['present', 'absent']), state=dict(default='present', choices=['present', 'absent']),
wait=dict(choices=BOOLEANS, default=False, type='bool'), wait=dict(default=False, type='bool'),
wait_timeout=dict(default=300), wait_timeout=dict(default=300),
) )
) )