adds new option to get_config to grab config with passwords (#17915)

In order for the config to be returned with vpn passwords, the get_config()
method now supports a keyword arg include=passwords to return the desired
configuration.  This replaces the show_command argument
This commit is contained in:
Peter Sprygada 2016-10-05 22:11:32 -04:00 committed by GitHub
parent 0afc327532
commit 087fb4265f
2 changed files with 9 additions and 17 deletions

View file

@ -90,18 +90,6 @@ options:
met either by individual arguments or values in this dict.
required: false
default: null
show_command:
description:
- Specifies which command will be used to get the current configuration.
By default the C(show running-config) command will be used, this command
masks some passwords. For example passwords for VPN. If you need to
match against masked passwords use C(more system:running-config).
Note that the C(more system:running-config) only works in the system
context if you are running the ASA in multiple context mode.
before sending any commands.
required: false
default: show running-config
choices: ['show running-config', 'more system:running-config']
context:
description:
- Specifies which context to target if you are running in the ASA in