Эх сурвалжийг харах

have restartvpn script work without dns

Blaine 2 жил өмнө
parent
commit
effae8d401

+ 1 - 1
plays/restart-vpn.yml

@@ -40,7 +40,7 @@
         path: /etc/motd
         path: /etc/motd
         regex: "^VPN Traffic tunneled through server: "
         regex: "^VPN Traffic tunneled through server: "
         line: "VPN Traffic tunneled through server: {{ wg_info.name }}"
         line: "VPN Traffic tunneled through server: {{ wg_info.name }}"
-      delegate_to: nas
+      delegate_to: 10.0.0.4
 
 
     - name: Restart unbound
     - name: Restart unbound
       systemd:
       systemd: