From cf33589c244e27602f807b1cf94652a49ef28a50 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Fri, 30 Aug 2024 00:26:53 +0000 Subject: [PATCH] Add a Rackspace Flex SJC3 mirror server Depends-On: https://review.opendev.org/927551 Change-Id: Ic193b95bd303c9b17c9920e979f583f736022aab --- inventory/base/hosts.yaml | 10 ++++++++++ .../host_vars/mirror01.sjc3.raxflex.opendev.org.yaml | 4 ++++ .../roles/letsencrypt-create-certs/handlers/main.yaml | 3 +++ 3 files changed, 17 insertions(+) create mode 100644 inventory/service/host_vars/mirror01.sjc3.raxflex.opendev.org.yaml diff --git a/inventory/base/hosts.yaml b/inventory/base/hosts.yaml index e0f083eacd..1d47fe6e82 100644 --- a/inventory/base/hosts.yaml +++ b/inventory/base/hosts.yaml @@ -384,6 +384,16 @@ all: - 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC5xzjFz9QgGKcl+dbsYcbvKfn/QGi8mu/NKLpmMgpcVAVJdlYTC/I6gUUr2uV53ayxd4oAxaTBo78MtRpjDtXlPHGbVh9yOYktzxR2c6bPB8YNmSNIbEUNQw6Bj4ilKPkqwPxwVtxANM744x81KtNSfA1QU9hyEfSuZx96EWnr+2b0OcaTTdr3e0EatwTiYdg3+I34j5u8Yt8zvcaBYd8OkBTIhcaaXaWUcEdUah9FwG6cVLPn48BcYeBcBFYSrICBiqa37M2EHHcXNWqVDfND6rUIiU8kqj8W53+AlxWbH8d4NpaReAlrRH1vd0rd2tNgidNir2gFA4b7EzYY8hxcmiLmyJXhF/NjEvlW5gSEEHBKF3sprsddvYJ3C1xV8NVzW9oaEllCnGBaMBjLwpJE3r3413Fot41t+gZ6a/pnP3OrkaoaV1fcGSgX8NDu9Cks9sYzD4N8skQ7RXQywDpCcP1b91GXNeauriQbIy5n0EsBiBpdvbNZ/pvGlObbl8U=' - 'ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEoI1It94fqjbp9/ROXLa5N68EzchuXkKLGqtRcOz407h0RZtU9DbFtBPNL4156iJPOpVPNE9RcTx4VMCO1kMLw=' - 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICJgYGE9MqlanLNGL4qFxVwd5Tv73/uiZ/4szq/zGATY1' + mirror01.sjc3.raxflex.opendev.org: + ansible_host: 65.17.193.187 + location: + cloud: opendevci-raxflex + region_name: SJC3 + public_v4: 65.17.193.187 + host_keys: + - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC6ahuxFoUtvf57unSeZGCKSNGNazHnbxOAX033R3kdNwnowSCLm3+yi9aDh+uQbmFnvBWYFrcBP6rFPNbJiY/6qj7jD3jJIIeaywsAqQQQXl7iWBFXOn8dAYluASigY7PCq6eF0sRhXmDRlyX/NNt6T48nLvYxDRsP/JAhyzh+1Jv+q00GHlvefcZ2BfB9p3q647HEA6WfYuq11Dd3nzVUqdNBKHDTP5Vrxtn1xGwKhkjkoB0pOB0mOWESbTjSM7vnPgEFdVK8G3DCZqJyDcCbehNdFDOk2z4Y96cY9Z8YuN2kalAIqBmh22DIl4EC60a8Bj+QF6xwSla8781trNwVHXI1cH7f1SZLK2/2rz4YaZ1sRJGphW3zjcAtYy/N/yYK4Ho/+Hrn47bZhvaGzsoVS9OeYpgWsYxPQ9ojiO1i4Wk4HBNoWWCyZgD0YnLm2mHEXJBUuLHg3ng8hNjqSvmt++SXRx2KxuhIPhyu+/ay2UADFBoZPsff0aT23aFBZf0= + - ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCw0nt3HJiZztQkv4ojSUAdbbSYMttQFzdANiq8zljp5YLEh1xzb5My1XcDQsbCIAoCVYS3Z6BX9ejeyIGMErDw= + - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMt6O0i8QR57sXq+5Qg19pLN8tWXPlpDuvLEjSZG22TA mirror01.iad.rax.opendev.org: ansible_host: 104.130.4.72 location: diff --git a/inventory/service/host_vars/mirror01.sjc3.raxflex.opendev.org.yaml b/inventory/service/host_vars/mirror01.sjc3.raxflex.opendev.org.yaml new file mode 100644 index 0000000000..bd37eaf6b5 --- /dev/null +++ b/inventory/service/host_vars/mirror01.sjc3.raxflex.opendev.org.yaml @@ -0,0 +1,4 @@ +letsencrypt_certs: + mirror01-sjc3-raxflex-main: + - mirror01.sjc3.raxflex.opendev.org + - mirror.sjc3.raxflex.opendev.org diff --git a/playbooks/roles/letsencrypt-create-certs/handlers/main.yaml b/playbooks/roles/letsencrypt-create-certs/handlers/main.yaml index 816ae4c76b..f0bc8f4960 100644 --- a/playbooks/roles/letsencrypt-create-certs/handlers/main.yaml +++ b/playbooks/roles/letsencrypt-create-certs/handlers/main.yaml @@ -188,6 +188,9 @@ - name: letsencrypt updated mirror01-iad3-openmetal-main include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml +- name: letsencrypt updated mirror01-sjc3-raxflex-main + include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml + - name: letsencrypt updated mirror02-dfw-rax-main include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml