IPA: Add option to specify timeout (#44572)

This fix allows user to specify idle timeout for fetch_url used
internally in IPA connection and post_json call.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde
2018-08-26 23:18:46 +05:30
committed by GitHub
parent 50750c7363
commit 70d7513542
2 changed files with 12 additions and 2 deletions

View File

@@ -50,5 +50,13 @@ options:
- This should only set to C(no) used on personally controlled sites using self-signed certificates.
default: true
type: bool
ipa_timeout:
description:
- Specifies idle timeout (in seconds) for the connection.
- For bulk operations, you may want to increase this in order to avoid timeout from IPA server.
- If the value is not specified in the task, the value of environment variable C(IPA_TIMEOUT) will be used instead.
- If both the environment variable C(IPA_TIMEOUT) and the value are not specified in the task, then default value is set.
default: 10
version_added: 2.7
'''