pihole/tasks/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sun, 24 May 2020 20:04:59 -0500
changeset 30 bf16f2477a11
parent 29 a0f74d2bb1d1
permissions -rw-r--r--
Do not re-download each time.

---

- 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"
  changed_when: false