|
|
@ -31,24 +31,24 @@ options:
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
port:
|
|
|
|
port:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Specifies the port to use when buiding the connection to the remote
|
|
|
|
- Specifies the port to use when building the connection to the remote
|
|
|
|
device. The port value will default to the well known SSH port
|
|
|
|
device. The port value will default to the well known SSH port
|
|
|
|
of 22
|
|
|
|
of 22
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: 22
|
|
|
|
default: 22
|
|
|
|
username:
|
|
|
|
username:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Configures the usename to use to authenticate the connection to
|
|
|
|
- Configures the username to use to authenticate the connection to
|
|
|
|
the remote device. The value of I(username) is used to authenticate
|
|
|
|
the remote device. The value of I(username) is used to authenticate
|
|
|
|
the SSH session. If the value is not specified in the task, the
|
|
|
|
the SSH session. If the value is not specified in the task, the
|
|
|
|
value of environment variable ANSIBLE_NET_USERNAME will be used instead.
|
|
|
|
value of environment variable C(ANSIBLE_NET_USERNAME) will be used instead.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
password:
|
|
|
|
password:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Specifies the password to use to authenticate the connection to
|
|
|
|
- Specifies the password to use to authenticate the connection to
|
|
|
|
the remote device. The value of I(password) is used to authenticate
|
|
|
|
the remote device. The value of I(password) is used to authenticate
|
|
|
|
the SSH session. If the value is not specified in the task, the
|
|
|
|
the SSH session. If the value is not specified in the task, the
|
|
|
|
value of environment variable ANSIBLE_NET_PASSWORD will be used instead.
|
|
|
|
value of environment variable C(ANSIBLE_NET_PASSWORD) will be used instead.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
ssh_keyfile:
|
|
|
|
ssh_keyfile:
|
|
|
@ -56,16 +56,16 @@ options:
|
|
|
|
- Specifies the SSH key to use to authenticate the connection to
|
|
|
|
- Specifies the SSH key to use to authenticate the connection to
|
|
|
|
the remote device. The value of I(ssh_keyfile) is the path to the
|
|
|
|
the remote device. The value of I(ssh_keyfile) is the path to the
|
|
|
|
key used to authenticate the SSH session. If the value is not specified
|
|
|
|
key used to authenticate the SSH session. If the value is not specified
|
|
|
|
in the task, the value of environment variable ANSIBLE_NET_SSH_KEYFILE
|
|
|
|
in the task, the value of environment variable C(ANSIBLE_NET_SSH_KEYFILE)
|
|
|
|
will be used instead.
|
|
|
|
will be used instead.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
authorize:
|
|
|
|
authorize:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Instructs the module to enter priviledged mode on the remote device
|
|
|
|
- Instructs the module to enter privileged mode on the remote device
|
|
|
|
before sending any commands. If not specified, the device will
|
|
|
|
before sending any commands. If not specified, the device will
|
|
|
|
attempt to excecute all commands in non-priviledged mode. If the value
|
|
|
|
attempt to execute all commands in non-privileged mode. If the value
|
|
|
|
is not specified in the task, the value of environment variable
|
|
|
|
is not specified in the task, the value of environment variable
|
|
|
|
ANSIBLE_NET_AUTHORIZE will be used instead.
|
|
|
|
C(ANSIBLE_NET_AUTHORIZE) will be used instead.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: no
|
|
|
|
default: no
|
|
|
|
choices: ['yes', 'no']
|
|
|
|
choices: ['yes', 'no']
|
|
|
@ -74,7 +74,7 @@ options:
|
|
|
|
- Specifies the password to use if required to enter privileged mode
|
|
|
|
- Specifies the password to use if required to enter privileged mode
|
|
|
|
on the remote device. If I(authorize) is false, then this argument
|
|
|
|
on the remote device. If I(authorize) is false, then this argument
|
|
|
|
does nothing. If the value is not specified in the task, the value of
|
|
|
|
does nothing. If the value is not specified in the task, the value of
|
|
|
|
environment variable ANSIBLE_NET_AUTH_PASS will be used instead.
|
|
|
|
environment variable C(ANSIBLE_NET_AUTH_PASS) will be used instead.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: none
|
|
|
|
default: none
|
|
|
|
timeout:
|
|
|
|
timeout:
|
|
|
@ -85,7 +85,7 @@ options:
|
|
|
|
default: 10
|
|
|
|
default: 10
|
|
|
|
provider:
|
|
|
|
provider:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Convience method that allows all M(ios) arguments to be passed as
|
|
|
|
- Convenience method that allows all I(ios) arguments to be passed as
|
|
|
|
a dict object. All constraints (required, choices, etc) must be
|
|
|
|
a dict object. All constraints (required, choices, etc) must be
|
|
|
|
met either by individual arguments or values in this dict.
|
|
|
|
met either by individual arguments or values in this dict.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
@ -93,12 +93,12 @@ options:
|
|
|
|
show_command:
|
|
|
|
show_command:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Specifies which command will be used to get the current configuration.
|
|
|
|
- Specifies which command will be used to get the current configuration.
|
|
|
|
By default the 'show running-config' command will be used, this command
|
|
|
|
By default the C(show running-config) command will be used, this command
|
|
|
|
masks some passwords. For example ike passwords for VPN. If you need to
|
|
|
|
masks some passwords. For example passwords for VPN. If you need to
|
|
|
|
match against masked passwords use 'more system:running-config'.
|
|
|
|
match against masked passwords use C(more system:running-config).
|
|
|
|
Note that the 'more system:running-config' only works in the system
|
|
|
|
Note that the C(more system:running-config) only works in the system
|
|
|
|
context if you are running the ASA in multiple context mode.
|
|
|
|
context if you are running the ASA in multiple context mode.
|
|
|
|
before sending any commands. If not specified, the device will
|
|
|
|
before sending any commands.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: show running-config
|
|
|
|
default: show running-config
|
|
|
|
choices: ['show running-config', 'more system:running-config']
|
|
|
|
choices: ['show running-config', 'more system:running-config']
|
|
|
|