From ff4eb129eea3f3743f82e5f1f7858d43625dba3d Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 23 Jul 2026 00:42:43 +0200 Subject: Disable ipv6 completely and remove related code Co-Authored-By: Claude.ai --- roles/pihole/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/pihole/tasks/main.yml') 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: -- cgit v1.2.3