pihole/tasks/main.yaml
author Luke Hoersten <luke@hoersten.org>
Mon, 17 Feb 2020 19:01:58 -0600
changeset 11 ba484e09107d
parent 9 e58af497ee2f
child 29 a0f74d2bb1d1
permissions -rw-r--r--
Addd pihole updater

---

- name: install custom DNS names
  become: yes
  copy:
    src: "{{pihole_custom_dns_list}}"
    dest: "/etc/pihole/custom.list"
    mode: "0644"
  notify: restart pihole-ftl

- name: update pihole
  command: "pihole -up"