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