X-Git-Url: https://freie-schul-it.de/gitweb/fsit_smgt.git/blobdiff_plain/1cfb434b5854a144949eb22d47bcfff1923d357a..3952ee067ff10b625837064e2f87edc92d7a8665:/tasks/pihole.yml?ds=inline diff --git a/tasks/pihole.yml b/tasks/pihole.yml index 2d79d02..28f4982 100644 --- a/tasks/pihole.yml +++ b/tasks/pihole.yml @@ -1,4 +1,10 @@ --- +- name: Update ntp.sync.active per group_vars + ansible.builtin.command: + 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 is defined - name: Update dns.upstreams per host_vars ansible.builtin.command: cmd: pihole-FTL --config dns.upstreams '{{ fsit_smgt_dns_upstreams | to_json }}'