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:
parent
05afd1a651
commit
4d057b32e9
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue