Parameter |
Choices/Defaults |
Comments |
---|---|---|
echo
(added in 2.5) |
|
Contols whether or not keyboard input is shown when typing.
Has no effect if 'seconds' or 'minutes' is set.
|
minutes
|
|
A positive number of minutes to pause for.
|
prompt
|
|
Optional text to use for the prompt message.
|
seconds
|
|
A positive number of seconds to pause for.
|
Note
# Pause for 5 minutes to build app cache.
- pause:
minutes: 5
# Pause until you can verify updates to an application were successful.
- pause:
# A helpful reminder of what to look out for post-update.
- pause:
prompt: "Make sure org.foo.FooOverload exception is not present"
# Pause to get some sensitive input.
- pause:
prompt: "Enter a secret"
echo: no
Common return values are documented here, the following are the fields unique to this module:
Key |
Returned |
Description |
---|---|---|
delta
string
|
always |
Time paused in seconds
Sample:
2
|
echo
bool
|
always |
Value of echo setting
Sample:
True
|
start
string
|
always |
Time when started pausing
Sample:
2017-02-23 14:35:07.298862
|
stdout
string
|
always |
Output of pause module
Sample:
Paused for 0.04 minutes
|
stop
string
|
always |
Time when ended pausing
Sample:
2017-02-23 14:35:09.552594
|
user_input
string
|
if no waiting time set |
User input from interactive console
Sample:
Example user input
|
This module is flagged as stableinterface which means that the maintainers for this module guarantee that no backward incompatible interface changes will be made.
For more information about Red Hat’s support of this module, please refer to this Knowledge Base article
Hint
If you notice any issues in this documentation you can edit this document to improve it.