Explorar el Código

update restart vpn script

Blaine Story hace 11 meses
padre
commit
4effebf875
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      plays/restart-vpn.yml

+ 6 - 1
plays/restart-vpn.yml

@@ -6,5 +6,10 @@
   tasks:
     - name: Restart VPN
       ansible.builtin.systemd_service:
-        name: openvpn@proton
+        name: openvpn@nord
+        state: restarted
+
+    - name: Restart unbound
+      ansible.builtin.systemd_service:
+        name: unbound
         state: restarted