summaryrefslogtreecommitdiffstats
path: root/roles/pihole/tasks/main.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-07-23 00:42:43 +0200
committerAhmed Abdelhalim <[email protected]>2026-07-23 00:42:43 +0200
commitff4eb129eea3f3743f82e5f1f7858d43625dba3d (patch)
treec737e5354cb0622f28db6565c3dfea445e389b06 /roles/pihole/tasks/main.yml
parentf7c8bd8143d6bc1e5b55bfd9591101ed41651d25 (diff)
Disable ipv6 completely and remove related code
Co-Authored-By: Claude.ai
Diffstat (limited to 'roles/pihole/tasks/main.yml')
-rw-r--r--roles/pihole/tasks/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/pihole/tasks/main.yml b/roles/pihole/tasks/main.yml
index ccd4bd9f..63e034d8 100644
--- a/roles/pihole/tasks/main.yml
+++ b/roles/pihole/tasks/main.yml
@@ -1,8 +1,8 @@
---
-- name: "Validate network_ipv*_dns params"
+- name: "Validate network_ipv4_dns param"
ansible.builtin.fail:
- msg: "Pihole role cannot work when network_ipv4_dns or network_ipv6_dns are defined"
- when: network_ipv4_dns is defined or network_ipv6_dns is defined
+ msg: "Pihole role cannot work when network_ipv4_dns is defined"
+ when: network_ipv4_dns is defined
- name: "Validate pihole_dhcp_* params"
ansible.builtin.assert: