Remove pi-hole entirely
This commit is contained in:
parent
1969af9a01
commit
3561513d7d
4 changed files with 0 additions and 49 deletions
|
|
@ -1,37 +0,0 @@
|
|||
---
|
||||
- name: Create a volume for DNS data
|
||||
become: true
|
||||
community.docker.docker_volume:
|
||||
name: pihole_data
|
||||
- name: Create a volume for Dnsmasq data
|
||||
become: true
|
||||
community.docker.docker_volume:
|
||||
name: dnsmasq_data
|
||||
- name: Install the container
|
||||
become: true
|
||||
community.docker.docker_container:
|
||||
name: pi-hole
|
||||
image: "docker.io/pihole/pihole:{{ pi_hole_version }}"
|
||||
mounts:
|
||||
- source: pihole_data
|
||||
target: /etc/pihole
|
||||
- source: dnsmasq_data
|
||||
target: /etc/dnsmasq.d
|
||||
network_mode: host
|
||||
restart_policy: always
|
||||
env:
|
||||
TZ: 'Europe/Amsterdam'
|
||||
WEBPASSWORD: "{{ pi_hole_web_password }}"
|
||||
# VIRTUAL_HOST: 'pi-hole.kleinendorst.info'
|
||||
# FTLCONF_LOCAL_IPV4: "{{ ansible_facts['default_ipv4']['address'] }}"
|
||||
PIHOLE_DNS_: 1.1.1.1;1.0.0.1
|
||||
DNSMASQ_USER: root
|
||||
DNSMASQ_LISTENING: all
|
||||
WEB_PORT: '8080'
|
||||
- name: Include simple-reverse-proxy role
|
||||
ansible.builtin.include_role:
|
||||
name: simple-reverse-proxy
|
||||
vars:
|
||||
simple_reverse_proxy_internal_port: 8080
|
||||
simple_reverse_proxy_internal_subdomain: pi-hole
|
||||
simple_reverse_proxy_redirect_to: /admin
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
---
|
||||
pi_hole_version: 2024.07.0
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
$ANSIBLE_VAULT;1.1;AES256
|
||||
31623263303861666139376462643866323437386464323334666434343837373031386462313536
|
||||
3538306437346465346466376639666339353137333366660a383164666539373635663263326264
|
||||
35353533313564336432646566346261313633333837663235643438333462343039353462663831
|
||||
3637316430363666650a663932306561373333316666376337666264373737383037653531363861
|
||||
30636539323361643365613139663137313137373265313266396337666237396437663433633032
|
||||
34373561373262333034636136346130333631626139346535663034613830323363336461366363
|
||||
37343535376138653163363833616335653566373031393131383764623636393032396165383938
|
||||
34386539373261313333
|
||||
Loading…
Add table
Add a link
Reference in a new issue