From 6494ed02756706076aa8af2ac83670adbb44b7e4 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Thu, 6 Aug 2020 09:42:39 +1000 Subject: [PATCH] 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 --- inventory/base/hosts.yaml | 7 +++++++ launch/dns.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/inventory/base/hosts.yaml b/inventory/base/hosts.yaml index 218bc7b809..f3706ec742 100644 --- a/inventory/base/hosts.yaml +++ b/inventory/base/hosts.yaml @@ -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: diff --git a/launch/dns.py b/launch/dns.py index 67be16bfc6..3768ab29d7 100755 --- a/launch/dns.py +++ b/launch/dns.py @@ -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))