X-Git-Url: https://freie-schul-it.de/gitweb/fsit_smgt.git/blobdiff_plain/8177b1a20024dacccf082dac8d3c7f94391b9a85..f6f3b724d6f451670fe467ae5140798adf3ad22e:/tasks/pihole.yml diff --git a/tasks/pihole.yml b/tasks/pihole.yml index e7b3b31..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 | length > 0 + 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 }}'