Class: Ansible::Ruby::Modules::Pause
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Pause
- Defined in:
- lib/ansible/ruby/modules/generated/core/utilities/logic/pause.rb
Overview
Pauses playbook execution for a set amount of time, or until a prompt is acknowledged. All parameters are optional. The default behavior is to pause with a prompt. 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©. To abort a playbook: press C(ctrl+c) and then C(a). The pause module integrates into async/parallelized playbooks without any special considerations (see also: 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.
Instance Method Summary collapse
-
#minutes ⇒ String?
Number of minutes to pause for.
-
#prompt ⇒ String?
Optional text to use for the prompt message.
-
#seconds ⇒ Object?
Number of seconds to pause for.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#minutes ⇒ String?
Returns Number of minutes to pause for.
13 |
# File 'lib/ansible/ruby/modules/generated/core/utilities/logic/pause.rb', line 13 attribute :minutes |
#prompt ⇒ String?
Returns Optional text to use for the prompt message.
20 |
# File 'lib/ansible/ruby/modules/generated/core/utilities/logic/pause.rb', line 20 attribute :prompt |
#seconds ⇒ Object?
Returns Number of seconds to pause for.
17 |
# File 'lib/ansible/ruby/modules/generated/core/utilities/logic/pause.rb', line 17 attribute :seconds |