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
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