Back to the very original syntax

This commit is contained in:
Pierre-Yves Chibon 2013-09-20 16:30:04 +00:00
parent 3b9d3d2661
commit 141d91c73f

View file

@ -12,8 +12,7 @@
- name: setup /etc/hosts for some clients
action: copy src=$item dest=/etc/hosts
with_first_found:
- files: $files/hosts/${ ansible_fqdn }-hosts $files/hosts/${ ansible_hostname }-hosts $files/hosts/${ ansible_domain }-hosts $files/hosts/${ host_group }-hosts
- files: $files/hosts/{{ ansible_fqdn }}-hosts $files/hosts/{{ ansible_hostname }}-hosts $files/hosts/{{ ansible_domain }}-hosts $files/hosts/{{ host_group }}-hosts
# skip: true
ignore_errors: true
tags:
- config