mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[doc] expect module: mention all parameter types (#56394)
This commit is contained in:
parent
b3ab83bc70
commit
7f41cc40e6
1 changed files with 5 additions and 0 deletions
|
@ -29,21 +29,26 @@ options:
|
|||
- The command module takes command to run.
|
||||
required: true
|
||||
creates:
|
||||
type: path
|
||||
description:
|
||||
- A filename, when it already exists, this step will B(not) be run.
|
||||
removes:
|
||||
type: path
|
||||
description:
|
||||
- A filename, when it does not exist, this step will B(not) be run.
|
||||
chdir:
|
||||
type: path
|
||||
description:
|
||||
- Change into this directory before running the command.
|
||||
responses:
|
||||
type: dict
|
||||
description:
|
||||
- Mapping of expected string/regex and string to respond with. If the
|
||||
response is a list, successive matches return successive
|
||||
responses. List functionality is new in 2.1.
|
||||
required: true
|
||||
timeout:
|
||||
type: int
|
||||
description:
|
||||
- Amount of time in seconds to wait for the expected strings. Use
|
||||
C(null) to disable timeout.
|
||||
|
|
Loading…
Reference in a new issue