homeserver/roles/mgrote.dnsmasq_adblocker/tasks/config.yml
mg fac0c68c5c Ersatz PiHole durch dnsmasq direkt (#298)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#298
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2022-01-15 11:19:04 +01:00

9 lines
246 B
YAML

---
- name: template /etc/dnsmasq.conf
become: yes
ansible.builtin.template:
src: dnsmasq.conf.j2
dest: /etc/dnsmasq.conf
owner: "{{ dnsmasq_user }}"
group: "{{ dnsmasq_user_group }}"
notify: restart dnsmasq