ok instead of throwing up our hands and screaming at the clouds.. put in a real fix.
This commit is contained in:
parent
9213be3ff9
commit
efb85be09e
1 changed files with 7 additions and 0 deletions
|
@ -17,8 +17,15 @@ define host {
|
|||
{% else %}
|
||||
address {{ host }}
|
||||
{% endif %}
|
||||
{% if env == 'staging' %}
|
||||
## Some staging parents do not allow ssh from staging. Just default to gw
|
||||
parents phx2-gw
|
||||
{% elif hostvars[host]['vmhost'] is defined %}
|
||||
parents {{ hostvars[host]['vmhost'] }}
|
||||
{% elif hostvars[host].datacenter is defined %}
|
||||
parents phx2-gw
|
||||
{% endif %}
|
||||
|
||||
}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue