summaryrefslogtreecommitdiffstats
path: root/roles/openvpn/handlers/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openvpn/handlers/main.yml')
-rw-r--r--roles/openvpn/handlers/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/openvpn/handlers/main.yml b/roles/openvpn/handlers/main.yml
new file mode 100644
index 0000000..befbcf5
--- /dev/null
+++ b/roles/openvpn/handlers/main.yml
@@ -0,0 +1,12 @@
+---
+- name: daemon-reload
+ command: systemctl daemon-reload
+
+- name: openvpn
+ service: name="{{openvpn_service}}" state=restarted
+
+- name: firewalld
+ shell: firewall-cmd --reload
+
+
+ \ No newline at end of file