author | Luke Hoersten <luke@hoersten.org> |
Sat, 16 May 2020 12:57:11 -0500 | |
changeset 29 | a0f74d2bb1d1 |
parent 11 | ba484e09107d |
permissions | -rw-r--r-- |
9 | 1 |
--- |
2 |
||
3 |
- name: install custom DNS names |
|
4 |
become: yes |
|
5 |
copy: |
|
6 |
src: "{{pihole_custom_dns_list}}" |
|
7 |
dest: "/etc/pihole/custom.list" |
|
8 |
mode: "0644" |
|
9 |
notify: restart pihole-ftl |
|
11 | 10 |
|
11 |
- name: update pihole |
|
12 |
command: "pihole -up" |
|
29
a0f74d2bb1d1
Made pihole role idempotent.
Luke Hoersten <luke@hoersten.org>
parents:
11
diff
changeset
|
13 |
changed_when: false |