adguard-home/tasks/main.yaml
changeset 174 431c6d5e5dd4
parent 122 cde9702e3bff
child 204 fd38efd8f637
--- a/adguard-home/tasks/main.yaml	Sat Jul 24 22:12:04 2021 -0500
+++ b/adguard-home/tasks/main.yaml	Sun Jul 25 10:30:51 2021 -0500
@@ -44,7 +44,8 @@
   template: src="AdGuardHome.yaml.j2" dest="/etc/AdGuardHome/AdGuardHome.yaml"
   notify: restart adguard home
 
-- stat: "path=/etc/resolv.conf"
+- name: check if resolv.conf exists
+  stat: path="/etc/resolv.conf"
   register: sym
 
 - name: replace systemd-resolved conf stub