chore: pihole entfernt (nicht mehr im Betrieb)
This commit is contained in:
parent
1509daad4c
commit
e597839407
5 changed files with 0 additions and 36 deletions
|
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
- name: Pi-hole DNS Records deployen
|
|
||||||
hosts: pihole
|
|
||||||
become: yes
|
|
||||||
roles:
|
|
||||||
- pihole_dns
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
pihole_dns_domain: local
|
|
||||||
pihole_custom_list: /etc/pihole/custom.list
|
|
||||||
pihole_extra_records: []
|
|
||||||
# - ip: 10.4.1.120
|
|
||||||
# name: authentik
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
---
|
|
||||||
- name: Reload Pi-hole DNS
|
|
||||||
ansible.builtin.command: pihole restartdns reload
|
|
||||||
listen: reload pihole dns
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
---
|
|
||||||
- name: Deploy Pi-hole custom DNS records
|
|
||||||
ansible.builtin.template:
|
|
||||||
src: custom.list.j2
|
|
||||||
dest: "{{ pihole_custom_list }}"
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: "0644"
|
|
||||||
notify: reload pihole dns
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
# Von Ansible generiert – nicht manuell bearbeiten
|
|
||||||
{% for host in groups['all'] %}
|
|
||||||
{% if hostvars[host].ansible_host is defined %}
|
|
||||||
{{ hostvars[host].ansible_host }} {{ host }}.{{ pihole_dns_domain }}
|
|
||||||
{{ hostvars[host].ansible_host }} {{ host }}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
{% for entry in pihole_extra_records %}
|
|
||||||
{{ entry.ip }} {{ entry.name }}.{{ pihole_dns_domain }}
|
|
||||||
{{ entry.ip }} {{ entry.name }}
|
|
||||||
{% endfor %}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue