hosts: try getting rid of files subsection here
Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
parent
ccd4c894f4
commit
cf67c4bc84
1 changed files with 1 additions and 2 deletions
|
@ -12,13 +12,12 @@
|
||||||
- name: setup /etc/hosts for some clients
|
- name: setup /etc/hosts for some clients
|
||||||
copy: src={{ item }} dest=/etc/hosts
|
copy: src={{ item }} dest=/etc/hosts
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- files:
|
|
||||||
- "{{ inventory_hostname }}-hosts"
|
- "{{ inventory_hostname }}-hosts"
|
||||||
- "{{ ansible_hostname }}-hosts"
|
- "{{ ansible_hostname }}-hosts"
|
||||||
- "{{ host_group }}-hosts"
|
- "{{ host_group }}-hosts"
|
||||||
- "{{ ansible_domain }}-hosts"
|
- "{{ ansible_domain }}-hosts"
|
||||||
- "{{ datacenter }}-hosts"
|
- "{{ datacenter }}-hosts"
|
||||||
- "{{ roles_path }}/hosts/files/base"
|
- base
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- hosts
|
- hosts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue