Add a jammy test node for regional mirrors

Change-Id: I922af92e523407b7324f020732fad52b98f027e1
This commit is contained in:
Tony Breeds 2023-10-31 09:47:28 -05:00
parent 92d2bb7f6b
commit f223a237a2
6 changed files with 18 additions and 1 deletions

View File

@ -238,6 +238,9 @@
- name: letsencrypt updated mirror02-openafs-provider-opendev-org-main
include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
- name: letsencrypt updated mirror03-openafs-provider-opendev-org-main
include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
- name: letsencrypt updated gitea99-main
include_tasks: roles/letsencrypt-create-certs/handlers/restart_gitea.yaml

View File

@ -146,6 +146,7 @@
- host_vars/grafana01.opendev.org.yaml
- host_vars/mirror01.openafs.provider.opendev.org.yaml
- host_vars/mirror02.openafs.provider.opendev.org.yaml
- host_vars/mirror03.openafs.provider.opendev.org.yaml
- host_vars/mirror-update99.opendev.org.yaml
- host_vars/paste99.opendev.org.yaml
- host_vars/refstack01.openstack.org.yaml

View File

@ -13,6 +13,7 @@ groups:
- letsencrypt02.opendev.org
- mirror01.openafs.provider.opendev.org
- mirror02.openafs.provider.opendev.org
- mirror03.openafs.provider.opendev.org
borg-backup-server:
- borg-backup01.region.provider.opendev.org

View File

@ -0,0 +1,4 @@
letsencrypt_certs:
mirror03-openafs-provider-opendev-org-main:
- mirror03.openafs.provider.opendev.org
- mirror.openafs.provider.opendev.org

View File

@ -17,7 +17,8 @@ import json
testinfra_hosts = ['mirror01.openafs.provider.opendev.org',
'mirror02.openafs.provider.opendev.org']
'mirror02.openafs.provider.opendev.org',
'mirror03.openafs.provider.opendev.org']
def test_apache(host):
apache = host.service('apache2')

View File

@ -473,6 +473,11 @@
'/var/log/apache2/': logs
'/var/log/acme.sh': logs
'/etc/apache2/sites-available/mirror.conf': logs
mirror03.openafs.provider.opendev.org:
host_copy_output:
'/var/log/apache2/': logs
'/var/log/acme.sh': logs
'/etc/apache2/sites-available/mirror.conf': logs
files:
- playbooks/bootstrap-bridge.yaml
- roles/
@ -495,6 +500,8 @@
label: ubuntu-bionic
- name: mirror02.openafs.provider.opendev.org
label: ubuntu-focal
- name: mirror03.openafs.provider.opendev.org
label: ubuntu-jammy
groups:
- <<: *bastion_group