src.nth.io/

summaryrefslogtreecommitdiff
path: root/pihole/tasks/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'pihole/tasks/main.yaml')
-rw-r--r--pihole/tasks/main.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/pihole/tasks/main.yaml b/pihole/tasks/main.yaml
new file mode 100644
index 0000000..db456c9
--- /dev/null
+++ b/pihole/tasks/main.yaml
@@ -0,0 +1,9 @@
+---
+
+- name: install custom DNS names
+ become: yes
+ copy:
+ src: "{{pihole_custom_dns_list}}"
+ dest: "/etc/pihole/custom.list"
+ mode: "0644"
+ notify: restart pihole-ftl