adguard-home/tasks/main.yaml
changeset 174 431c6d5e5dd4
parent 122 cde9702e3bff
child 204 fd38efd8f637
equal deleted inserted replaced
173:82f2bcbc5aca 174:431c6d5e5dd4
    42 - name: configure adguard home
    42 - name: configure adguard home
    43   become: yes
    43   become: yes
    44   template: src="AdGuardHome.yaml.j2" dest="/etc/AdGuardHome/AdGuardHome.yaml"
    44   template: src="AdGuardHome.yaml.j2" dest="/etc/AdGuardHome/AdGuardHome.yaml"
    45   notify: restart adguard home
    45   notify: restart adguard home
    46 
    46 
    47 - stat: "path=/etc/resolv.conf"
    47 - name: check if resolv.conf exists
       
    48   stat: path="/etc/resolv.conf"
    48   register: sym
    49   register: sym
    49 
    50 
    50 - name: replace systemd-resolved conf stub
    51 - name: replace systemd-resolved conf stub
    51   become: yes
    52   become: yes
    52   copy:
    53   copy: