diff --git a/playbook.yml b/playbook.yml index f281e8b..c3519aa 100644 --- a/playbook.yml +++ b/playbook.yml @@ -19,7 +19,6 @@ - role: cloudflare-ddns - role: cloudflared - role: nginx - - role: pi-hole - role: actual - role: postgres - role: wedding diff --git a/roles/pi-hole/tasks/main.yml b/roles/pi-hole/tasks/main.yml deleted file mode 100644 index 3621405..0000000 --- a/roles/pi-hole/tasks/main.yml +++ /dev/null @@ -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 diff --git a/roles/pi-hole/vars/main/defaults.yml b/roles/pi-hole/vars/main/defaults.yml deleted file mode 100644 index 9175876..0000000 --- a/roles/pi-hole/vars/main/defaults.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -pi_hole_version: 2024.07.0 diff --git a/roles/pi-hole/vars/main/vault.yml b/roles/pi-hole/vars/main/vault.yml deleted file mode 100644 index b46eed5..0000000 --- a/roles/pi-hole/vars/main/vault.yml +++ /dev/null @@ -1,9 +0,0 @@ -$ANSIBLE_VAULT;1.1;AES256 -31623263303861666139376462643866323437386464323334666434343837373031386462313536 -3538306437346465346466376639666339353137333366660a383164666539373635663263326264 -35353533313564336432646566346261313633333837663235643438333462343039353462663831 -3637316430363666650a663932306561373333316666376337666264373737383037653531363861 -30636539323361643365613139663137313137373265313266396337666237396437663433633032 -34373561373262333034636136346130333631626139346535663034613830323363336461366363 -37343535376138653163363833616335653566373031393131383764623636393032396165383938 -34386539373261313333