hosts: ok, try just defaulting here.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
5c7e74c4f3
commit
7463139d30
1 changed files with 1 additions and 2 deletions
|
@ -11,7 +11,6 @@
|
||||||
#
|
#
|
||||||
- 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
|
||||||
errors: ignore
|
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- files:
|
- files:
|
||||||
- "{{ inventory_hostname }}-hosts"
|
- "{{ inventory_hostname }}-hosts"
|
||||||
|
@ -19,7 +18,7 @@
|
||||||
- "{{ host_group }}-hosts"
|
- "{{ host_group }}-hosts"
|
||||||
- "{{ ansible_domain }}-hosts"
|
- "{{ ansible_domain }}-hosts"
|
||||||
- "{{ datacenter }}-hosts"
|
- "{{ datacenter }}-hosts"
|
||||||
- "base"
|
- base
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
- hosts
|
- hosts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue