From cf67c4bc8462521ea363266acad4c44524c899d9 Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Fri, 8 Nov 2019 23:23:15 +0000 Subject: [PATCH] hosts: try getting rid of files subsection here Signed-off-by: Rick Elrod --- roles/hosts/tasks/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/hosts/tasks/main.yml b/roles/hosts/tasks/main.yml index 8c1e24306d..106784b1f9 100644 --- a/roles/hosts/tasks/main.yml +++ b/roles/hosts/tasks/main.yml @@ -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