Fix paths
This commit is contained in:
parent
800c03d37e
commit
3a0d2d4483
1 changed files with 4 additions and 4 deletions
|
@ -13,10 +13,10 @@
|
|||
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"
|
||||
- "{{ ansible_fqdn }}-hosts"
|
||||
- "{{ ansible_hostname }}-hosts"
|
||||
- "{{ ansible_domain }}-hosts"
|
||||
- "{{ host_group }}-hosts"
|
||||
skip: true
|
||||
tags:
|
||||
- config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue