See if adding this here fixes an issue with stg.

Basically if /etc/hosts has proxy01.phx2.fedoraproject.org in it,
ansible picks that up and gets the host file for that instead of
the one for proxy01.stg.phx2.fedoraproject.org and it flips back
and forth on ansible runs.
This commit is contained in:
Kevin Fenzi 2015-07-06 20:39:09 +00:00
parent 05afd1a651
commit 4d057b32e9

View file

@ -13,6 +13,7 @@
action: copy src={{ item }} dest=/etc/hosts
with_first_found:
- files:
- "{{ inventory_hostname }}-hosts"
- "{{ ansible_fqdn }}-hosts"
- "{{ ansible_hostname }}-hosts"
- "{{ ansible_domain }}-hosts"