pihole/tasks/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sat, 15 Feb 2020 16:15:13 -0600
changeset 10 524cf40846b3
parent 9 e58af497ee2f
child 11 ba484e09107d
permissions -rw-r--r--
Added better use for admin user.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9
e58af497ee2f Added basic pihole role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
---
e58af497ee2f Added basic pihole role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
e58af497ee2f Added basic pihole role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     3
- name: install custom DNS names
e58af497ee2f Added basic pihole role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     4
  become: yes
e58af497ee2f Added basic pihole role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     5
  copy:
e58af497ee2f Added basic pihole role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     6
    src: "{{pihole_custom_dns_list}}"
e58af497ee2f Added basic pihole role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     7
    dest: "/etc/pihole/custom.list"
e58af497ee2f Added basic pihole role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     8
    mode: "0644"
e58af497ee2f Added basic pihole role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     9
  notify: restart pihole-ftl