Added basic pihole role.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pihole/handlers/main.yaml Sat Feb 15 14:30:44 2020 -0600
@@ -0,0 +1,5 @@
+---
+
+- name: restart pihole-ftl
+ systemd: name="pihole-FTL.service" state="restarted" daemon_reload="yes"
+ become: yes
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pihole/tasks/main.yaml Sat Feb 15 14:30:44 2020 -0600
@@ -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