algo/roles/vpn/handlers/main.yml
2017-11-12 17:09:57 -05:00

18 lines
401 B
YAML

- name: restart strongswan
service: name=strongswan state=restarted
- name: daemon-reload
shell: systemctl daemon-reload
- name: restart apparmor
service: name=apparmor state=restarted
- name: save iptables
shell: service netfilter-persistent save
- name: restart iptables
service: name=netfilter-persistent state=restarted
- name: rereadcrls
shell: ipsec rereadcrls; ipsec purgecrls