pihole/tasks/main.yaml
author Luke Hoersten <luke@hoersten.org>
Mon, 15 Jun 2020 23:25:16 -0500
changeset 47 3f1771bb0d79
parent 29 a0f74d2bb1d1
permissions -rw-r--r--
Added stream support to nginx configs.

---

- 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