access: ignore more non‐changes
Should probably move this somewhere more listy if it keeps growing.
This commit is contained in:
parent
dbc00fd448
commit
be0cc49b33
|
@ -17,5 +17,5 @@
|
|||
config: '{{ config.json.content }}'
|
||||
register: result
|
||||
# These lines are not displayed by 'sho ru' and always reported as different, so ignore them.
|
||||
changed_when: result.commands | reject('match', '^(no shutdown|no switchport access vlan|switchport mode access|switchport mode hybrid|interface .*)$')
|
||||
changed_when: result.commands | reject('match', '^(no shutdown|no switchport access vlan|switchport mode access|switchport mode hybrid|interface .*|no enable service web-server https?)$')
|
||||
notify: write config
|
||||
|
|
Loading…
Reference in a new issue