From 63de1803ef355932c448b13bc32bb2a260fa77fd Mon Sep 17 00:00:00 2001 From: Ullli Date: Fri, 15 May 2026 10:54:06 +0200 Subject: [PATCH 1/1] when muss abfragen, ob variable definiert ist --- tasks/pihole.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/pihole.yml b/tasks/pihole.yml index f9bab03..28f4982 100644 --- a/tasks/pihole.yml +++ b/tasks/pihole.yml @@ -4,7 +4,7 @@ cmd: pihole-FTL --config ntp.sync.active '{{ fsit_smgt_ntp_sync_active }}' register: ftl_ntp_sync_active_response changed_when: ftl_ntp_sync_active_response.rc != 0 - when: fsit_smgt_ntp_sync_active + when: fsit_smgt_ntp_sync_active is defined - name: Update dns.upstreams per host_vars ansible.builtin.command: cmd: pihole-FTL --config dns.upstreams '{{ fsit_smgt_dns_upstreams | to_json }}' -- 2.39.5