ansible-consul-template
ansible-consul-template copied to clipboard
Wrong access of 'consul_template_template_files' in with_items
Hi all,
according to http://docs.ansible.com/ansible/latest/playbooks_loops.html#standard-loops
the line
https://github.com/griggheo/ansible-consul-template/blob/9bab12612a149de3771dcc2c8f21a5f7aa5043c1/tasks/install.yml#L98
should be written as
with_items: "{{ consul_template_template_files }}"
Since such an item only contains one attribute 'src' one could think about turning it into a list.