Bulk update of choices=BOOLEANS to type='bool'
This commit is contained in:
parent
f1301f6fd9
commit
86adb60a82
1 changed files with 3 additions and 3 deletions
|
@ -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),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue