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:
parent
edbc212af4
commit
15e89220dd
|
@ -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
|
|
@ -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']
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue