pihole/tasks/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sun, 03 May 2020 15:55:21 -0500
changeset 18 ea20908c3904
parent 11 ba484e09107d
child 29 a0f74d2bb1d1
permissions -rw-r--r--
Removed use of install command.

---

- 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"