|
|
@ -23,8 +23,8 @@ version_added: "2.1"
|
|
|
|
author: "Peter sprygada (@privateip)"
|
|
|
|
author: "Peter sprygada (@privateip)"
|
|
|
|
short_description: Run arbitrary command on EOS device
|
|
|
|
short_description: Run arbitrary command on EOS device
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Sends an aribtrary set of commands to and EOS node and returns the results
|
|
|
|
- Sends an aribtrary set of commands to an EOS node and returns the results
|
|
|
|
read from the device. The M(eos_command) modulule includes an
|
|
|
|
read from the device. The M(eos_command) module includes an
|
|
|
|
argument that will cause the module to wait for a specific condition
|
|
|
|
argument that will cause the module to wait for a specific condition
|
|
|
|
before returning or timing out if the condition is not met.
|
|
|
|
before returning or timing out if the condition is not met.
|
|
|
|
extends_documentation_fragment: eos
|
|
|
|
extends_documentation_fragment: eos
|
|
|
@ -35,7 +35,7 @@ options:
|
|
|
|
configured provider. The resulting output from the command
|
|
|
|
configured provider. The resulting output from the command
|
|
|
|
is returned. If the I(waitfor) argument is provided, the
|
|
|
|
is returned. If the I(waitfor) argument is provided, the
|
|
|
|
module is not returned until the condition is satisfied or
|
|
|
|
module is not returned until the condition is satisfied or
|
|
|
|
the number of retires as expired.
|
|
|
|
the number of retries has been exceeded.
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
waitfor:
|
|
|
|
waitfor:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
@ -48,7 +48,7 @@ options:
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
retries:
|
|
|
|
retries:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Specifies the number of retries a command should by tried
|
|
|
|
- Specifies the number of retries a command should be tried
|
|
|
|
before it is considered failed. The command is run on the
|
|
|
|
before it is considered failed. The command is run on the
|
|
|
|
target device every retry and evaluated against the waitfor
|
|
|
|
target device every retry and evaluated against the waitfor
|
|
|
|
conditionals
|
|
|
|
conditionals
|
|
|
@ -98,7 +98,7 @@ stdout:
|
|
|
|
sample: ['...', '...']
|
|
|
|
sample: ['...', '...']
|
|
|
|
|
|
|
|
|
|
|
|
stdout_lines:
|
|
|
|
stdout_lines:
|
|
|
|
description: The value of stdout split into a list
|
|
|
|
description: the value of stdout split into a list
|
|
|
|
returned: always
|
|
|
|
returned: always
|
|
|
|
type: list
|
|
|
|
type: list
|
|
|
|
sample: [['...', '...'], ['...'], ['...']]
|
|
|
|
sample: [['...', '...'], ['...'], ['...']]
|
|
|
|