From 08c392477ebc98111cee950df16af943a5726c8c Mon Sep 17 00:00:00 2001 From: Sandra McCann Date: Wed, 26 Sep 2018 09:38:26 -0400 Subject: [PATCH] made sros_config docs match code for match options (#46135) * made docs match code for match options * fixed shippable error --- lib/ansible/modules/network/sros/sros_config.py | 8 +++----- test/sanity/validate-modules/ignore.txt | 1 - 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/ansible/modules/network/sros/sros_config.py b/lib/ansible/modules/network/sros/sros_config.py index b1332cde869..bde868b1287 100644 --- a/lib/ansible/modules/network/sros/sros_config.py +++ b/lib/ansible/modules/network/sros/sros_config.py @@ -65,14 +65,12 @@ options: description: - Instructs the module on the way to perform the matching of the set of commands against the current device config. If - match is set to I(line), commands are matched line by line. If - match is set to I(strict), command lines are matched with respect - to position. If match is set to I(exact), command lines - must be an equal match. Finally, if match is set to I(none), the + match is set to I(line), commands are matched line by line. + If match is set to I(none), the module will not attempt to compare the source configuration with the running configuration on the remote device. default: line - choices: ['line', 'strict', 'exact', 'none'] + choices: ['line', 'none'] replace: description: - Instructs the module on the way to perform the configuration diff --git a/test/sanity/validate-modules/ignore.txt b/test/sanity/validate-modules/ignore.txt index 0ea99c09845..a878fc40cc7 100644 --- a/test/sanity/validate-modules/ignore.txt +++ b/test/sanity/validate-modules/ignore.txt @@ -909,7 +909,6 @@ lib/ansible/modules/network/panos/panos_security_rule.py E324 lib/ansible/modules/network/panos/panos_security_rule.py E325 lib/ansible/modules/network/panos/panos_security_rule.py E326 lib/ansible/modules/network/sros/sros_config.py E323 -lib/ansible/modules/network/sros/sros_config.py E326 lib/ansible/modules/network/vyos/vyos_interface.py E324 lib/ansible/modules/network/vyos/vyos_interface.py E325 lib/ansible/modules/network/vyos/vyos_linkagg.py E324