hosts: try getting rid of files subsection here

Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
Rick Elrod 2019-11-08 23:23:15 +00:00 committed by Pierre-Yves Chibon
parent ccd4c894f4
commit cf67c4bc84

View file

@ -12,13 +12,12 @@
- name: setup /etc/hosts for some clients
copy: src={{ item }} dest=/etc/hosts
with_first_found:
- files:
- "{{ inventory_hostname }}-hosts"
- "{{ ansible_hostname }}-hosts"
- "{{ host_group }}-hosts"
- "{{ ansible_domain }}-hosts"
- "{{ datacenter }}-hosts"
- "{{ roles_path }}/hosts/files/base"
- base
tags:
- config
- hosts