diff --git a/roles/hosts/tasks/main.yml b/roles/hosts/tasks/main.yml index d59c19100b..41c455fc20 100644 --- a/roles/hosts/tasks/main.yml +++ b/roles/hosts/tasks/main.yml @@ -12,6 +12,7 @@ - name: setup /etc/hosts for some clients copy: src={{ item }} dest=/etc/hosts with_first_found: + errors: ignore - files: - "{{ inventory_hostname }}-hosts" - "{{ ansible_hostname }}-hosts" @@ -19,7 +20,6 @@ - "{{ ansible_domain }}-hosts" - "{{ datacenter }}-hosts" - "base" - errors: ignore tags: - config - hosts