Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
90ca3865
Commit
90ca3865
authored
Mar 31, 2015
by
Monty Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add api timeout now that shade spports it everywhere
parent
8758ba08
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
lib/ansible/module_utils/openstack.py
+1
-0
lib/ansible/utils/module_docs_fragments/openstack.py
+5
-0
v2/ansible/module_utils/openstack.py
+1
-0
No files found.
lib/ansible/module_utils/openstack.py
View file @
90ca3865
...
...
@@ -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'
]
)
...
...
lib/ansible/utils/module_docs_fragments/openstack.py
View file @
90ca3865
...
...
@@ -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.
...
...
v2/ansible/module_utils/openstack.py
View file @
90ca3865
...
...
@@ -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'
]
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment