diff --git a/tasks/dnsmasq.yml b/tasks/dnsmasq.yml index 64657a91..35aed0fd 100644 --- a/tasks/dnsmasq.yml +++ b/tasks/dnsmasq.yml @@ -37,7 +37,7 @@ mode: 0644 become: true notify: restart dnsmasq - when: "{{ item.when }}" + when: item.when tags: dnsmasq loop: - { dest: '/etc/dnsmasq.d/10-consul', group: 'root', when: ansible_os_family|lower != "freebsd" } diff --git a/tasks/install_linux_repo.yml b/tasks/install_linux_repo.yml index e5f4a96b..b680d18c 100644 --- a/tasks/install_linux_repo.yml +++ b/tasks/install_linux_repo.yml @@ -6,7 +6,7 @@ name: "{{ consul_repo_prerequisites }}" state: present become: true - when: (consul_os_repo_prerequisites) + when: (consul_repo_prerequisites) tags: installation - name: Populate service facts