Use group var to define letsencrypt_certs

Change-Id: Ibcc11bd4fb120a046b428fe3c6eb9ba8505495d0
This commit is contained in:
Tony Breeds 2024-01-15 14:50:51 +11:00
parent ba511c4d1c
commit 5f0e06963a
3 changed files with 8 additions and 5 deletions

View File

@ -7,3 +7,10 @@ iptables_extra_public_udp_ports:
iptables_extra_allowed_groups:
- {'protocol': 'tcp', 'port': '5222', 'group': 'jvb'}
- {'protocol': 'tcp', 'port': '9090', 'group': 'meetpad'}
letsencrypt_certs:
# NOTE: Order is important! LE/driver.sh will write the file to the
# first entry in this list. The jitsi_meet handler wants that to be the
# inventotu_hostname
meetpad-opendev-org-main:
- '{{ inventory_hostname }}'
- meetpad.opendev.org

View File

@ -1,4 +0,0 @@
letsencrypt_certs:
meetpad01-main:
- meetpad01.opendev.org
- meetpad.opendev.org

View File

@ -38,7 +38,7 @@
- name: letsencrypt updated insecure-ci-registry99-main
include_tasks: roles/letsencrypt-create-certs/handlers/restart_zuul_registry.yaml
- name: letsencrypt updated meetpad01-main
- name: letsencrypt updated meetpad-opendev-org-main
include_tasks: roles/letsencrypt-create-certs/handlers/restart_jitsi_meet.yaml
# mailman