summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandra McCann <samccann@redhat.com>2018-09-26 09:38:26 -0400
committerDeepak Agrawal <deepacks@gmail.com>2018-09-26 19:08:26 +0530
commit08c392477ebc98111cee950df16af943a5726c8c (patch)
tree14c46556f306fcac8d439f9ff10b0a526fbbe03d
parent5803d73400d017d1be7e180c112ec93e6131a1ad (diff)
downloadansible-08c392477ebc98111cee950df16af943a5726c8c.tar.gz
made sros_config docs match code for match options (#46135)
* made docs match code for match options * fixed shippable error
-rw-r--r--lib/ansible/modules/network/sros/sros_config.py8
-rw-r--r--test/sanity/validate-modules/ignore.txt1
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 b1332cde86..bde868b128 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 0ea99c0984..a878fc40cc 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