From 8e9d25029370590296f0b453202672f376aae640 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Tue, 13 Apr 2021 14:19:10 +1000 Subject: [PATCH] Add OSUOSL mirror Change-Id: Ia065fb30cfd69c5ab3fe96541d168b5722ff59ce Depends-On: https://review.opendev.org/c/opendev/zone-opendev.org/+/786003 --- hiera/common.yaml | 1 + inventory/base/hosts.yaml | 6 ++++++ .../service/host_vars/mirror01.regionone.osusol.opendev.org | 4 ++++ playbooks/roles/letsencrypt-create-certs/handlers/main.yaml | 3 +++ 4 files changed, 14 insertions(+) create mode 100644 inventory/service/host_vars/mirror01.regionone.osusol.opendev.org diff --git a/hiera/common.yaml b/hiera/common.yaml index e68b40397d..1b8bcea211 100644 --- a/hiera/common.yaml +++ b/hiera/common.yaml @@ -288,6 +288,7 @@ cacti_hosts: - mirror.mtl01.inap.opendev.org - mirror02.us-west-1.packethost.openstack.org - mirror02.regionone.linaro-us.opendev.org +- mirror01.regionone.osuosl.opendev.org - mirror-update.opendev.org - mirror-update.openstack.org - refstack01.openstack.org diff --git a/inventory/base/hosts.yaml b/inventory/base/hosts.yaml index 5e43963219..5d38e4ae27 100644 --- a/inventory/base/hosts.yaml +++ b/inventory/base/hosts.yaml @@ -529,6 +529,12 @@ all: region_name: kna1 public_v4: 188.212.109.26 public_v6: '' + mirror01.regionone.osuosl.opendev.org: + ansible_host: 140.211.167.73 + location: + cloud: opendevci-osuosl + region_name: RegionOne + public_v4: 140.211.167.73 nb01.opendev.org: ansible_host: 104.239.240.55 location: diff --git a/inventory/service/host_vars/mirror01.regionone.osusol.opendev.org b/inventory/service/host_vars/mirror01.regionone.osusol.opendev.org new file mode 100644 index 0000000000..8afdef259b --- /dev/null +++ b/inventory/service/host_vars/mirror01.regionone.osusol.opendev.org @@ -0,0 +1,4 @@ +letsencrypt_certs: + mirror01-regionone-osuosl-main: + - mirror01.regionone.osusol.opendev.org + - mirror.regionone.osusol.opendev.org diff --git a/playbooks/roles/letsencrypt-create-certs/handlers/main.yaml b/playbooks/roles/letsencrypt-create-certs/handlers/main.yaml index 026bf459c6..a3b4662b15 100644 --- a/playbooks/roles/letsencrypt-create-certs/handlers/main.yaml +++ b/playbooks/roles/letsencrypt-create-certs/handlers/main.yaml @@ -187,6 +187,9 @@ - name: letsencrypt updated mirror01-regionone-limestone-main include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml +- name: letsencrypt updated mirror01-regionone-osuosl-main + include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml + # Gate testing hosts: - name: letsencrypt updated letsencrypt01-main-service include_tasks: roles/letsencrypt-create-certs/handlers/touch_file.yaml