]> freie-schul-it.de Git - fsit_smgt.git/blobdiff - tasks/pihole.yml
ist eine Variable vom Typ Boolean
[fsit_smgt.git] / tasks / pihole.yml
index e7b3b31098d1602b2af900d8725b4964ec58cc65..f9bab039125c1caf51b6204ecb49c025a1d9ad4b 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 | length > 0
+  when: fsit_smgt_ntp_sync_active
 - name: Update dns.upstreams per host_vars
   ansible.builtin.command:
     cmd: pihole-FTL --config dns.upstreams '{{ fsit_smgt_dns_upstreams | to_json }}'