hosts: try moving the ignore up

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-11-08 22:57:35 +00:00 committed by Pierre-Yves Chibon
parent 28308be9ac
commit 5445c73468

View file

@ -12,6 +12,7 @@
- name: setup /etc/hosts for some clients - name: setup /etc/hosts for some clients
copy: src={{ item }} dest=/etc/hosts copy: src={{ item }} dest=/etc/hosts
with_first_found: with_first_found:
errors: ignore
- files: - files:
- "{{ inventory_hostname }}-hosts" - "{{ inventory_hostname }}-hosts"
- "{{ ansible_hostname }}-hosts" - "{{ ansible_hostname }}-hosts"
@ -19,7 +20,6 @@
- "{{ ansible_domain }}-hosts" - "{{ ansible_domain }}-hosts"
- "{{ datacenter }}-hosts" - "{{ datacenter }}-hosts"
- "base" - "base"
errors: ignore
tags: tags:
- config - config
- hosts - hosts