Clean up syntax some
This commit is contained in:
parent
b30d7946c0
commit
a974723992
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue