adguard-home/tasks/main.yaml
changeset 55 376bb71909a4
parent 53 9e4f750f5d36
child 122 cde9702e3bff
equal deleted inserted replaced
54:1ea4f1c7c675 55:376bb71909a4
    46 
    46 
    47 - name: disable systemd-resolved service
    47 - name: disable systemd-resolved service
    48   become: yes
    48   become: yes
    49   systemd: name="systemd-resolved.service" enabled="no" state="stopped"
    49   systemd: name="systemd-resolved.service" enabled="no" state="stopped"
    50 
    50 
       
    51 - name: replace systemd-resolved conf stub
       
    52   become: yes
       
    53   file:
       
    54     src:  "/run/systemd/resolve/resolv.conf"
       
    55     dest: "/etc/resolv.conf"
       
    56     state: "link"
       
    57 
    51 - name: ensure adguard home is started
    58 - name: ensure adguard home is started
    52   become: yes
    59   become: yes
    53   systemd: name="AdGuardHome.service" enabled="yes" state="started"
    60   systemd: name="AdGuardHome.service" enabled="yes" state="started"