summaryrefslogtreecommitdiffstats
path: root/lib/ansible/modules/pause.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/modules/pause.py')
-rw-r--r--lib/ansible/modules/pause.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ansible/modules/pause.py b/lib/ansible/modules/pause.py
index 450bfaf..278e84c 100644
--- a/lib/ansible/modules/pause.py
+++ b/lib/ansible/modules/pause.py
@@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
+from __future__ import annotations
DOCUMENTATION = '''
@@ -15,7 +14,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.
+ - Prompting for a set amount of time is not supported. Pausing playbook execution is interruptible 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.