Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
james-otten committed Nov 5, 2024
1 parent 1680e4e commit 15801a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ansible/roles/vpn_mgt/tasks/system_interfaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
path : "/etc/network/interfaces"
register: sys_interface_after

- name: Bounce dummy0 interface if it anything changed
ansible.builtin.command:
cmd: "bash -c 'service networking reload;ifdown --force dummy0;ifup dummy0'"
when: (sys_interface_before.stat.checksum is not defined) or (sys_interface_before.stat.checksum != sys_interface_after.stat.checksum)
# - name: Bounce dummy0 interface if it anything changed
# ansible.builtin.command:
# cmd: "bash -c 'service networking reload;ifdown --force dummy0;ifup dummy0'"
# when: (sys_interface_before.stat.checksum is not defined) or (sys_interface_before.stat.checksum != sys_interface_after.stat.checksum)

0 comments on commit 15801a1

Please sign in to comment.