pihole/tasks/main.yaml
author Luke Hoersten <luke@hoersten.org>
Wed, 01 Jul 2020 13:24:46 -0500
changeset 106 50f9047e2439
parent 29 a0f74d2bb1d1
permissions -rw-r--r--
Updated minecraft server to 1.16.1

---

- 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