hosts: not there in the middle of the loop though

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

View file

@ -11,8 +11,8 @@
#
- name: setup /etc/hosts for some clients
copy: src={{ item }} dest=/etc/hosts
with_first_found:
errors: ignore
with_first_found:
- files:
- "{{ inventory_hostname }}-hosts"
- "{{ ansible_hostname }}-hosts"