|
|
@ -29,21 +29,26 @@ options:
|
|
|
|
- The command module takes command to run.
|
|
|
|
- The command module takes command to run.
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
creates:
|
|
|
|
creates:
|
|
|
|
|
|
|
|
type: path
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- A filename, when it already exists, this step will B(not) be run.
|
|
|
|
- A filename, when it already exists, this step will B(not) be run.
|
|
|
|
removes:
|
|
|
|
removes:
|
|
|
|
|
|
|
|
type: path
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- A filename, when it does not exist, this step will B(not) be run.
|
|
|
|
- A filename, when it does not exist, this step will B(not) be run.
|
|
|
|
chdir:
|
|
|
|
chdir:
|
|
|
|
|
|
|
|
type: path
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Change into this directory before running the command.
|
|
|
|
- Change into this directory before running the command.
|
|
|
|
responses:
|
|
|
|
responses:
|
|
|
|
|
|
|
|
type: dict
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Mapping of expected string/regex and string to respond with. If the
|
|
|
|
- Mapping of expected string/regex and string to respond with. If the
|
|
|
|
response is a list, successive matches return successive
|
|
|
|
response is a list, successive matches return successive
|
|
|
|
responses. List functionality is new in 2.1.
|
|
|
|
responses. List functionality is new in 2.1.
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
timeout:
|
|
|
|
timeout:
|
|
|
|
|
|
|
|
type: int
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Amount of time in seconds to wait for the expected strings. Use
|
|
|
|
- Amount of time in seconds to wait for the expected strings. Use
|
|
|
|
C(null) to disable timeout.
|
|
|
|
C(null) to disable timeout.
|
|
|
|