X-Git-Url: https://freie-schul-it.de/gitweb/fsit_smgt.git/blobdiff_plain/19d9458401e44e137ae4f1c49e60436860765f88..759111351d4512c71fe5809f2d580bee28df72fa:/tasks/pihole.yml 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 }}'