Clean up syntax some

This commit is contained in:
Kevin Fenzi 2014-01-01 19:54:23 +00:00
parent b30d7946c0
commit a974723992

View file

@ -12,7 +12,11 @@
- 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
tags:
- config