|
|
|
@ -1921,10 +1921,10 @@ TASK_TIMEOUT:
|
|
|
|
|
name: Task Timeout
|
|
|
|
|
default: 0
|
|
|
|
|
description:
|
|
|
|
|
- Set the maximum time (in seconds) for a task to execute in.
|
|
|
|
|
- Set the maximum time (in seconds) for a task action to execute in.
|
|
|
|
|
- Timeout runs independently from templating or looping.
|
|
|
|
|
It applies per each attempt and remains unchanged by the total time spent on a task.
|
|
|
|
|
- When the task execution exceeds the timeout, Ansible interrupts the process.
|
|
|
|
|
It applies per each attempt of executing the task's action and remains unchanged by the total time spent on a task.
|
|
|
|
|
- When the action execution exceeds the timeout, Ansible interrupts the process.
|
|
|
|
|
This is registered as a failure due to outside circumstances, not a task failure, to receive appropriate response and recovery process.
|
|
|
|
|
- If set to 0 (the default) there is no timeout.
|
|
|
|
|
env: [{name: ANSIBLE_TASK_TIMEOUT}]
|
|
|
|
|