hosts: try moving the ignore up
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
28308be9ac
commit
5445c73468
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue