mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Add type int for various argument params (#55026)
Specify type as int for various arguments where default value is int. Fixes: #55005 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
committed by
Sloane Hertel
parent
dd3de27cc8
commit
bea397b458
@@ -381,7 +381,7 @@ def main():
|
||||
default=False),
|
||||
release_on_disassociation=dict(required=False, type='bool', default=False),
|
||||
allow_reassociation=dict(type='bool', default=False),
|
||||
wait_timeout=dict(default=300),
|
||||
wait_timeout=dict(default=300, type='int'),
|
||||
private_ip_address=dict(required=False, default=None, type='str')
|
||||
))
|
||||
|
||||
|
||||
@@ -249,7 +249,7 @@ def main():
|
||||
force=dict(type='bool', default=True),
|
||||
state=dict(default='present', choices=['present', 'absent']),
|
||||
wait=dict(type='bool', default=False),
|
||||
wait_timeout=dict(default=300)
|
||||
wait_timeout=dict(default=300, type='int')
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
@@ -443,7 +443,7 @@ def main():
|
||||
key_pair_name=dict(type='str'),
|
||||
user_data=dict(type='str'),
|
||||
wait=dict(type='bool', default=True),
|
||||
wait_timeout=dict(default=300),
|
||||
wait_timeout=dict(default=300, type='int'),
|
||||
))
|
||||
|
||||
module = AnsibleModule(argument_spec=argument_spec)
|
||||
|
||||
Reference in New Issue
Block a user