From cb3abd557431cc04aef5de1b302bcde25cd81c81 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Sat, 25 Mar 2017 14:33:23 +0100 Subject: added reload and restart handlers --- roles/install_openvpn/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'roles/install_openvpn/tasks/main.yml') diff --git a/roles/install_openvpn/tasks/main.yml b/roles/install_openvpn/tasks/main.yml index 9d35547..2f5d7fb 100644 --- a/roles/install_openvpn/tasks/main.yml +++ b/roles/install_openvpn/tasks/main.yml @@ -8,32 +8,38 @@ copy: src: ca.crt dest: /etc/openvpn/client/ca.crt + notify: restart openvpn - name: install crl.pem copy: src: crl.pem dest: /etc/openvpn/client/crl.pem + notify: restart openvpn - name: install mullvad-up.sh copy: src: mullvad-up.sh dest: /etc/openvpn/client/mullvad-up.sh mode: 0744 + notify: restart openvpn - name: install mullvad.conf template: src: mullvad.conf.j2 dest: /etc/openvpn/client/mullvad.conf + notify: restart openvpn - name: install mullvad.key template: src: mullvad.key.j2 dest: /etc/openvpn/client/mullvad.key + notify: restart openvpn - name: install mullvad.crt template: src: mullvad.crt.j2 dest: /etc/openvpn/client/mullvad.crt + notify: restart openvpn - name: create sysetmd openvpn folder file: -- cgit v1.2.3-54-g00ecf