diff options
Diffstat (limited to 'ansible/roles/network')
-rw-r--r-- | ansible/roles/network/handlers/main.yml | 6 | ||||
-rw-r--r-- | ansible/roles/network/tasks/main.yml | 8 |
2 files changed, 0 insertions, 14 deletions
diff --git a/ansible/roles/network/handlers/main.yml b/ansible/roles/network/handlers/main.yml deleted file mode 100644 index 1c72d85..0000000 --- a/ansible/roles/network/handlers/main.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -- name: reload iptables - shell: iptables-restore < /etc/iptables/rules.v4 && systemctl restart docker - -- name: reload ip6tables - shell: ip6tables-restore < /etc/iptables/rules.v6 diff --git a/ansible/roles/network/tasks/main.yml b/ansible/roles/network/tasks/main.yml index ee2f21e..e0cf60c 100644 --- a/ansible/roles/network/tasks/main.yml +++ b/ansible/roles/network/tasks/main.yml @@ -1,12 +1,8 @@ - name: "Deploy iptablesv4 configuration" template: src=rules.v4.j2 dest=/etc/iptables/rules.v4 - notify: - - reload iptables - name: "Deploy iptablesv6 configuration" copy: src=rules.v6 dest=/etc/iptables/rules.v6 - notify: - - reload ip6tables - name: "Activate IP forwarding" sysctl: @@ -14,10 +10,6 @@ value: 1 sysctl_set: yes -- name: "Flush handlers" - meta: flush_handlers - - # These two lines are used to undo previous config, remove them once it is done - name: "Update nsswitch.conf to not use systemd-resolved" copy: src=nsswitch.conf dest=/etc/nsswitch.conf |