diff options
author | Niklas Yann Wettengel <niyawe@niyawe.de> | 2017-03-25 14:33:23 +0100 |
---|---|---|
committer | Niklas Yann Wettengel <niyawe@niyawe.de> | 2017-03-25 14:33:23 +0100 |
commit | cb3abd557431cc04aef5de1b302bcde25cd81c81 (patch) | |
tree | 4fd7058270e4e9d87ccf9778b85e573faccb2cbd /roles/install_openvpn/tasks/main.yml | |
parent | 62a74b1ed442dc8c8a1224aa8edceeb3ed9c1b84 (diff) |
added reload and restart handlers
Diffstat (limited to 'roles/install_openvpn/tasks/main.yml')
-rw-r--r-- | roles/install_openvpn/tasks/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
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: |