diff --git a/roles/access/tasks/main.yml b/roles/access/tasks/main.yml index 728016f..538474c 100644 --- a/roles/access/tasks/main.yml +++ b/roles/access/tasks/main.yml @@ -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