Add IP info to nodepool hostvars

Expose the IP address info supplied by nodepool in the Ansible
hostvars.

Change-Id: Ia482dc54e963c261e610650fd85d2deae8953c69
changes/03/498103/2
James E. Blair 5 years ago
parent 7a8d83c7c8
commit 22dd6506f4
  1. 6
      zuul/executor/server.py

@ -1159,7 +1159,11 @@ class AnsibleJob(object):
az=node.get('az'),
cloud=node.get('cloud'),
provider=node.get('provider'),
region=node.get('region')))
region=node.get('region'),
interface_ip=node.get('interface_ip'),
public_ipv4=node.get('public_ipv4'),
private_ipv4=node.get('private_ipv4'),
public_ipv6=node.get('public_ipv6')))
host_keys = []
for key in node.get('host_keys'):

Loading…
Cancel
Save