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
|
- name: setup /etc/hosts for some clients
|
||||||
action: copy src={{ item }} dest=/etc/hosts
|
action: copy src={{ item }} dest=/etc/hosts
|
||||||
with_first_found:
|
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
|
skip: true
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue