hosts: ok, try just defaulting here.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-11-08 23:00:42 +00:00 committed by Pierre-Yves Chibon
parent 5c7e74c4f3
commit 7463139d30

View file

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