remove handlers, since they mess with order of operations for bootstrap

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-05-22 10:08:05 -04:00
parent edbc212af4
commit 15e89220dd
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
3 changed files with 3 additions and 17 deletions

View File

@ -1,9 +0,0 @@
---
- name: restart tinc
service:
name: 'tinc@{{ tinc_network_name }}'
state: restarted
enabled: true
- name: Save iptables rules
shell: iptables-save > /etc/iptables/rules.v4

View File

@ -29,8 +29,6 @@
tags: ['role::tinc', 'role::tinc:config']
command: '{{ tinc_network_path }}/tinc-refresh'
register: generation
notify:
- restart tinc
- name: Configure a cron job to refresh Tinc peers
tags: ['role::tinc', 'role::tinc:config']

View File

@ -7,8 +7,6 @@
chain: INPUT
jump: ACCEPT
in_interface: tun0
notify:
- Save iptables rules
- name: Enable VPN connections for Docker
tags: ['role::tinc', 'role::tinc:firewall']
@ -18,8 +16,6 @@
comment: VPN connections
in_interface: tun0
jump: ACCEPT
notify:
- Save iptables rules
- name: Enable various service ports
tags: ['role::tinc', 'role::tinc:firewall']
@ -33,5 +29,6 @@
with_items:
- { "port": 655, "cmt": "Tinc VPN TCP" }
- { "port": 655, "cmt": "Tinc VPN UDP", "prot": "udp" }
notify:
- Save iptables rules
- name: Save iptables rules
shell: iptables-save > /etc/iptables/rules.v4