ansible-collections / ansible-consul

:satellite: Ansible role for Hashicorp Consul clusters
https://galaxy.ansible.com/ansible-community/consul/
BSD 2-Clause "Simplified" License
452 stars 313 forks source link

Fix directory /usr/local/etc/dnsmasq.d not found #477

Closed attrib closed 2 years ago

attrib commented 2 years ago

When running with ansible 2.15.5 the item.when is not evaluated and is true, therefore it tries to create both configs files. Resulting in a directory not found error.

sandipb commented 2 years ago

This is breaking all tests during linting. when statements need to have python conditionals. Jinja expressions doesnt seem to be allowed here.