maybe this will make qa02 easier?

This commit is contained in:
Stephen Smoogen 2018-12-15 01:14:59 +00:00
parent 00ab5cce90
commit cc16f56e4f
4 changed files with 28 additions and 29 deletions

View file

@ -14,6 +14,8 @@ define host {
{% endif %}
{% if hostvars[host].eth0_ip is defined %}
address {{ hostvars[host].eth0_ip }}
{% elif hostvars[host].em3_ip is defined %}
address {{ hostvars[host].em3_ip }}
{% elif hostvars[host].ansible_default_ipv4 is defined %}
{% if hostvars[host].ansible_default_ipv4.address is defined %}
address {{ hostvars[host].ansible_default_ipv4.address }}