Add OE mirror to inventory

This has been restarted.  While we're here, fix the path to the
inventory in the launch output.

Change-Id: I4d78d9eb2ee365e47850c68c36d475a468dc6064
This commit is contained in:
Ian Wienand 2020-08-06 09:42:39 +10:00
parent f230a03677
commit 6494ed0275
2 changed files with 8 additions and 1 deletions

View File

@ -536,6 +536,13 @@ all:
region_name: kna1
public_v4: 188.212.109.64
public_v6: ''
mirror01.us-east.openedge.opendev.org:
ansible_host: 108.44.198.36
location:
cloud: openstackci-openedge
region_name: us-east
public_v4: 108.44.198.36
public_v6: 2001:470:e126:0:f816:3eff:fecd:ebe6
nb01.opendev.org:
ansible_host: 104.239.240.55
location:

View File

@ -102,7 +102,7 @@ def print_dns_legacy(server, ip4, ip6):
def print_inventory_yaml(server, ip4, ip6):
print("\n")
print("Put the following into inventory/openstack.yaml")
print("Put the following into system-config:inventory/base/hosts.yaml")
print("\n")
print(" {name}:".format(name=server.name))
print(" ansible_host: {ip}".format(ip=ip4 or ip6))