Try this
This commit is contained in:
parent
141d91c73f
commit
26c566750d
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +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
|
||||
tags:
|
||||
- config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue