summaryrefslogtreecommitdiffstats
path: root/lib/ansible/modules/pause.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:55:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:55:42 +0000
commit62d9962ec7d01c95bf5732169320d3857a41446e (patch)
treef60d8fc63ff738e5f5afec48a84cf41480ee1315 /lib/ansible/modules/pause.py
parentReleasing progress-linux version 2.14.13-1~progress7.99u1. (diff)
downloadansible-core-62d9962ec7d01c95bf5732169320d3857a41446e.tar.xz
ansible-core-62d9962ec7d01c95bf5732169320d3857a41446e.zip
Merging upstream version 2.16.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/ansible/modules/pause.py')
-rw-r--r--lib/ansible/modules/pause.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ansible/modules/pause.py b/lib/ansible/modules/pause.py
index 09061dd..450bfaf 100644
--- a/lib/ansible/modules/pause.py
+++ b/lib/ansible/modules/pause.py
@@ -15,6 +15,7 @@ description:
- To pause/wait/sleep per host, use the M(ansible.builtin.wait_for) module.
- You can use C(ctrl+c) if you wish to advance a pause earlier than it is set to expire or if you need to abort a playbook run entirely.
To continue early press C(ctrl+c) and then C(c). To abort a playbook press C(ctrl+c) and then C(a).
+ - Prompting for a set amount of time is not supported. Pausing playbook execution is interruptable but does not return user input.
- The pause module integrates into async/parallelized playbooks without any special considerations (see Rolling Updates).
When using pauses with the C(serial) playbook parameter (as in rolling updates) you are only prompted once for the current group of hosts.
- This module is also supported for Windows targets.
@@ -29,10 +30,11 @@ options:
prompt:
description:
- Optional text to use for the prompt message.
+ - User input is only returned if O(seconds=None) and O(minutes=None), otherwise this is just a custom message before playbook execution is paused.
echo:
description:
- Controls whether or not keyboard input is shown when typing.
- - Has no effect if 'seconds' or 'minutes' is set.
+ - Only has effect if O(seconds=None) and O(minutes=None).
type: bool
default: 'yes'
version_added: 2.5