mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
various typo corrections to ios network modules
This commit is contained in:
parent
fe09641476
commit
6339398e7c
4 changed files with 21 additions and 21 deletions
|
@ -37,12 +37,12 @@ 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 expired.
|
||||||
required: true
|
required: true
|
||||||
wait_for:
|
wait_for:
|
||||||
description:
|
description:
|
||||||
- List of conditions to evaluate against the output of the
|
- List of conditions to evaluate against the output of the
|
||||||
command. The task will wait for a each condition to be true
|
command. The task will wait for each condition to be true
|
||||||
before moving forward. If the conditional is not true
|
before moving forward. If the conditional is not true
|
||||||
within the configured number of retries, the task fails.
|
within the configured number of retries, the task fails.
|
||||||
See examples.
|
See examples.
|
||||||
|
@ -55,7 +55,7 @@ options:
|
||||||
- Specifies the number of retries a command should by tried
|
- Specifies the number of retries a command should by 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
|
target device every retry and evaluated against the
|
||||||
waitfor conditions.
|
I(waitfor) conditions.
|
||||||
required: false
|
required: false
|
||||||
default: 10
|
default: 10
|
||||||
interval:
|
interval:
|
||||||
|
@ -78,7 +78,7 @@ vars:
|
||||||
password: cisco
|
password: cisco
|
||||||
transport: cli
|
transport: cli
|
||||||
|
|
||||||
- name: run show verion on remote devices
|
- name: run show version on remote devices
|
||||||
ios_command:
|
ios_command:
|
||||||
commands: show version
|
commands: show version
|
||||||
provider "{{ cli }}"
|
provider "{{ cli }}"
|
||||||
|
@ -96,7 +96,7 @@ vars:
|
||||||
- show interfaces
|
- show interfaces
|
||||||
provider "{{ cli }}"
|
provider "{{ cli }}"
|
||||||
|
|
||||||
- name: run multiple commands and evalute the output
|
- name: run multiple commands and evaluate the output
|
||||||
ios_command:
|
ios_command:
|
||||||
commands:
|
commands:
|
||||||
- show version
|
- show version
|
||||||
|
@ -122,7 +122,7 @@ stdout_lines:
|
||||||
|
|
||||||
failed_conditions:
|
failed_conditions:
|
||||||
description: The list of conditionals that have failed
|
description: The list of conditionals that have failed
|
||||||
retured: failed
|
returned: failed
|
||||||
type: list
|
type: list
|
||||||
sample: ['...', '...']
|
sample: ['...', '...']
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,8 @@ version_added: "2.1"
|
||||||
author: "Peter Sprygada (@privateip)"
|
author: "Peter Sprygada (@privateip)"
|
||||||
short_description: Manage Cisco IOS configuration sections
|
short_description: Manage Cisco IOS configuration sections
|
||||||
description:
|
description:
|
||||||
- Cisco IOS configurations use a simple block indent file sytanx
|
- Cisco IOS configurations use a simple block indent file syntax
|
||||||
for segementing configuration into sections. This module provides
|
for segmenting configuration into sections. This module provides
|
||||||
an implementation for working with IOS configuration sections in
|
an implementation for working with IOS configuration sections in
|
||||||
a deterministic way.
|
a deterministic way.
|
||||||
extends_documentation_fragment: ios
|
extends_documentation_fragment: ios
|
||||||
|
@ -59,7 +59,7 @@ options:
|
||||||
version_added: "2.2"
|
version_added: "2.2"
|
||||||
dest:
|
dest:
|
||||||
description:
|
description:
|
||||||
- Configures a destination file write the source template or config
|
- Configures a destination file to write the source template or config
|
||||||
updates to. The path to the destination file can either be a full
|
updates to. The path to the destination file can either be a full
|
||||||
path on the Ansible control host or a relative path from the
|
path on the Ansible control host or a relative path from the
|
||||||
playbook or role root dir. This will, by default, overwrite any
|
playbook or role root dir. This will, by default, overwrite any
|
||||||
|
@ -74,7 +74,7 @@ options:
|
||||||
append:
|
append:
|
||||||
description:
|
description:
|
||||||
- Changes the default behavior when writing the configuration out
|
- Changes the default behavior when writing the configuration out
|
||||||
to a remote file on disk. By defaul if O(dest) is specified, the
|
to a remote file on disk. By default if O(dest) is specified, the
|
||||||
file is overridden. By setting this argument to true, the remote
|
file is overridden. By setting this argument to true, the remote
|
||||||
file (if it exists) is appended to.
|
file (if it exists) is appended to.
|
||||||
required: false
|
required: false
|
||||||
|
@ -93,7 +93,7 @@ options:
|
||||||
after:
|
after:
|
||||||
description:
|
description:
|
||||||
- The ordered set of commands to append to the end of the command
|
- The ordered set of commands to append to the end of the command
|
||||||
stack if a changed needs to be made. Just like with I(before) this
|
stack if a change needs to be made. Just like with I(before) this
|
||||||
allows the playbook designer to append a set of commands to be
|
allows the playbook designer to append a set of commands to be
|
||||||
executed after the command set.
|
executed after the command set.
|
||||||
required: false
|
required: false
|
||||||
|
@ -188,7 +188,7 @@ updates:
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
description: The set of responses from issuing the commands on the device
|
description: The set of responses from issuing the commands on the device
|
||||||
retured: when not check_mode
|
returned: when not check_mode
|
||||||
type: list
|
type: list
|
||||||
sample: ['...', '...']
|
sample: ['...', '...']
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -32,7 +32,7 @@ options:
|
||||||
gather_subset:
|
gather_subset:
|
||||||
description:
|
description:
|
||||||
- When supplied, this argument will restrict the facts collected
|
- When supplied, this argument will restrict the facts collected
|
||||||
to a given subset. Possible values for this argument inlcude
|
to a given subset. Possible values for this argument include
|
||||||
all, hardware, config, and interfaces. Can specify a list of
|
all, hardware, config, and interfaces. Can specify a list of
|
||||||
values to include a larger subset. Values can also be used
|
values to include a larger subset. Values can also be used
|
||||||
with an initial M(!) to specify that a specific subset should
|
with an initial M(!) to specify that a specific subset should
|
||||||
|
@ -54,7 +54,7 @@ EXAMPLES = """
|
||||||
# Do not collect hardware facts
|
# Do not collect hardware facts
|
||||||
- ios_facts:
|
- ios_facts:
|
||||||
gather_subset:
|
gather_subset:
|
||||||
- "!interfaces"
|
- "!hardware"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
RETURN = """
|
RETURN = """
|
||||||
|
@ -75,7 +75,7 @@ ansible_net_hostname:
|
||||||
returned: always
|
returned: always
|
||||||
type: str
|
type: str
|
||||||
ansible_net_image:
|
ansible_net_image:
|
||||||
desription: The image the system booted from
|
description: The image the system booted from
|
||||||
returned: always
|
returned: always
|
||||||
type: str
|
type: str
|
||||||
ansible_net_module:
|
ansible_net_module:
|
||||||
|
|
|
@ -23,9 +23,9 @@ author: "Peter Sprygada (@privateip)"
|
||||||
short_description: Manage Cisco IOS device configurations over SSH
|
short_description: Manage Cisco IOS device configurations over SSH
|
||||||
description:
|
description:
|
||||||
- Manages Cisco IOS network device configurations over SSH. This module
|
- Manages Cisco IOS network device configurations over SSH. This module
|
||||||
allows implementors to work with the device running-config. It
|
allows implementers to work with the device running-config. It
|
||||||
provides a way to push a set of commands onto a network device
|
provides a way to push a set of commands onto a network device
|
||||||
by evaluting the current running-config and only pushing configuration
|
by evaluating the current running-config and only pushing configuration
|
||||||
commands that are not already configured. The config source can
|
commands that are not already configured. The config source can
|
||||||
be a set of commands or a template.
|
be a set of commands or a template.
|
||||||
extends_documentation_fragment: ios
|
extends_documentation_fragment: ios
|
||||||
|
@ -50,7 +50,7 @@ options:
|
||||||
include_defaults:
|
include_defaults:
|
||||||
description:
|
description:
|
||||||
- The module, by default, will collect the current device
|
- The module, by default, will collect the current device
|
||||||
running-config to use as a base for comparision to the commands
|
running-config to use as a base for comparison to the commands
|
||||||
in I(src). Setting this value to true will cause the command
|
in I(src). Setting this value to true will cause the command
|
||||||
issued to add any necessary flags to collect all defaults as
|
issued to add any necessary flags to collect all defaults as
|
||||||
well as the device configuration. If the destination device
|
well as the device configuration. If the destination device
|
||||||
|
@ -74,8 +74,8 @@ options:
|
||||||
against the contents of source. There are times when it is not
|
against the contents of source. There are times when it is not
|
||||||
desirable to have the task get the current running-config for
|
desirable to have the task get the current running-config for
|
||||||
every task. The I(config) argument allows the implementer to
|
every task. The I(config) argument allows the implementer to
|
||||||
pass in the configuruation to use as the base config for
|
pass in the configuration to use as the base config for
|
||||||
comparision.
|
comparison.
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: null
|
||||||
"""
|
"""
|
||||||
|
@ -111,7 +111,7 @@ updates:
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
description: The set of responses from issuing the commands on the device
|
description: The set of responses from issuing the commands on the device
|
||||||
retured: when not check_mode
|
returned: when not check_mode
|
||||||
type: list
|
type: list
|
||||||
sample: ['...', '...']
|
sample: ['...', '...']
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue