Skip to content

Commit

Permalink
improved vyos_config smart diffing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaelin committed Aug 2, 2021
1 parent e988518 commit 8912037
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions plugins/modules/vyos_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,10 @@
matched against the active config and the deltas are loaded line by line.
If the C(match) argument is set to C(none) the active configuration is ignored
and the configuration is always loaded. If the C(match) argument is set to
C(smart) both the active configuration and the target configuration are simlulated
and the results compared to bring the target device into a reliable and
reproducable state. Using C(smart), the special value C(...) indicates that
this keys value should not be changed and any preexisting siblings should not
be removed from the target.
C(smart) the active configuration and the target configuration are compared
and differences are added to or removed from the target. Using C(smart), the
special value C(...) indicates that this value should not be changed and its
siblings should not be removed from the target.
type: str
default: line
choices:
Expand Down Expand Up @@ -217,9 +216,7 @@

DEFAULT_COMMENT = "configured by vyos_config"

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


def get_candidate(module):
Expand Down

0 comments on commit 8912037

Please sign in to comment.