mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add api timeout now that shade spports it everywhere
This commit is contained in:
parent
8758ba08bd
commit
90ca386555
3 changed files with 7 additions and 0 deletions
|
@ -83,6 +83,7 @@ def openstack_full_argument_spec(**kwargs):
|
|||
key=dict(default=None),
|
||||
wait=dict(default=True, type='bool'),
|
||||
timeout=dict(default=180, type='int'),
|
||||
api_timeout=dict(default=None, type='int'),
|
||||
endpoint_type=dict(
|
||||
default='public', choices=['public', 'internal', 'admin']
|
||||
)
|
||||
|
|
|
@ -60,6 +60,11 @@ options:
|
|||
- How long should ansible wait for the requested resource.
|
||||
required: false
|
||||
default: 180
|
||||
api_timeout:
|
||||
description:
|
||||
- How long should the socket layer wait before timing out for API calls.
|
||||
If this is omitted, nothing will be passed to the requests library.
|
||||
required: false
|
||||
verify:
|
||||
description:
|
||||
- Whether or not SSL API requests should be verified.
|
||||
|
|
|
@ -83,6 +83,7 @@ def openstack_full_argument_spec(**kwargs):
|
|||
key=dict(default=None),
|
||||
wait=dict(default=True, type='bool'),
|
||||
timeout=dict(default=180, type='int'),
|
||||
api_timeout=dict(default=None, type='int'),
|
||||
endpoint_type=dict(
|
||||
default='public', choices=['public', 'internal', 'admin']
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue