Skip to content

Commit 8912037

Browse files
committed
improved vyos_config smart diffing documentation
1 parent e988518 commit 8912037

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

plugins/modules/vyos_config.py

+5-8
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,10 @@
6262
matched against the active config and the deltas are loaded line by line.
6363
If the C(match) argument is set to C(none) the active configuration is ignored
6464
and the configuration is always loaded. If the C(match) argument is set to
65-
C(smart) both the active configuration and the target configuration are simlulated
66-
and the results compared to bring the target device into a reliable and
67-
reproducable state. Using C(smart), the special value C(...) indicates that
68-
this keys value should not be changed and any preexisting siblings should not
69-
be removed from the target.
65+
C(smart) the active configuration and the target configuration are compared
66+
and differences are added to or removed from the target. Using C(smart), the
67+
special value C(...) indicates that this value should not be changed and its
68+
siblings should not be removed from the target.
7069
type: str
7170
default: line
7271
choices:
@@ -217,9 +216,7 @@
217216

218217
DEFAULT_COMMENT = "configured by vyos_config"
219218

220-
CONFIG_FILTERS = [
221-
re.compile(r"set system login user \S+ authentication encrypted-password")
222-
]
219+
CONFIG_FILTERS = []
223220

224221

225222
def get_candidate(module):

0 commit comments

Comments
 (0)