pihole/tasks/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sun, 14 Jun 2020 11:40:43 -0500
changeset 43 b86f3fc9fb6f
parent 29 a0f74d2bb1d1
permissions -rw-r--r--
Added ngircd.

---

- 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