]> freie-schul-it.de Git - fsit_smgt.git/blobdiff - tasks/pihole.yml
nach dem hinzufuegen des forgejo-repos muss der apt-cache nochmals aktualisiert werden
[fsit_smgt.git] / tasks / pihole.yml
index f9bab039125c1caf51b6204ecb49c025a1d9ad4b..28f4982238624ec2dab72631c9905955f3afcb9b 100644 (file)
@@ -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 }}'