diff --git a/roles/hosts/tasks/main.yml b/roles/hosts/tasks/main.yml index 106784b1f9..248b770bc1 100644 --- a/roles/hosts/tasks/main.yml +++ b/roles/hosts/tasks/main.yml @@ -12,12 +12,12 @@ - name: setup /etc/hosts for some clients copy: src={{ item }} dest=/etc/hosts with_first_found: - - "{{ inventory_hostname }}-hosts" - - "{{ ansible_hostname }}-hosts" - - "{{ host_group }}-hosts" - - "{{ ansible_domain }}-hosts" - - "{{ datacenter }}-hosts" - - base + - "{{ inventory_hostname }}-hosts" + - "{{ ansible_hostname }}-hosts" + - "{{ host_group }}-hosts" + - "{{ ansible_domain }}-hosts" + - "{{ datacenter }}-hosts" + - base tags: - config - hosts