adguard-home/tasks/main.yaml
changeset 53 9e4f750f5d36
parent 50 15edca738a31
child 55 376bb71909a4
equal deleted inserted replaced
52:5a5071d4eaad 53:9e4f750f5d36
    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 - name: disable systemd-resolved service
       
    48   become: yes
       
    49   systemd: name="systemd-resolved.service" enabled="no" state="stopped"
       
    50 
    47 - name: ensure adguard home is started
    51 - name: ensure adguard home is started
    48   become: yes
    52   become: yes
    49   systemd: name="AdGuardHome.service" enabled="yes" state="started"
    53   systemd: name="AdGuardHome.service" enabled="yes" state="started"