X-Git-Url: https://freie-schul-it.de/gitweb/fsit_smgt.git/blobdiff_plain/a1ada5418765003c5de52f2b6767217a9b0e787a..217806e225b441e806b4eeb4f799c354d22d0b2d:/tasks/pihole.yml?ds=inline diff --git a/tasks/pihole.yml b/tasks/pihole.yml index c856985..6e8d878 100644 --- a/tasks/pihole.yml +++ b/tasks/pihole.yml @@ -4,7 +4,7 @@ cmd: pihole-FTL --config dns.upstreams '{{ fsit_smgt_dns_upstreams | to_json }}' register: ftl_dns_upstreams_response changed_when: ftl_dns_upstreams_response.rc != 0 - when: fsit_smgt_dns_upstreams |lenght > 0 + when: "fsit_smgt_dns_upstreams |lenght > 0" - name: Update misc.dnsmasq_lines ansible.builtin.command: cmd: pihole-FTL --config misc.dnsmasq_lines '{{ fsit_smgt_dnsmasq_lines | to_json }}'