From a24310c17f2926d90013451b536c3933472be24a Mon Sep 17 00:00:00 2001 From: Kendall Nelson Date: Mon, 16 Aug 2021 10:15:57 -0700 Subject: [PATCH] Setup Letsencrypt for ptgbot site Depends-on: https://review.opendev.org/c/opendev/zone-opendev.org/+/804790 Change-Id: I8812628a3b021180e7c5d33ccd0cd5c2f0cc4745 --- inventory/service/host_vars/eavesdrop01.opendev.org.yaml | 2 ++ playbooks/roles/letsencrypt-create-certs/handlers/main.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/inventory/service/host_vars/eavesdrop01.opendev.org.yaml b/inventory/service/host_vars/eavesdrop01.opendev.org.yaml index 0a68372edd..c9e65fbb5e 100644 --- a/inventory/service/host_vars/eavesdrop01.opendev.org.yaml +++ b/inventory/service/host_vars/eavesdrop01.opendev.org.yaml @@ -1,3 +1,5 @@ letsencrypt_certs: eavesdrop01-opendev-org-main: - eavesdrop01.opendev.org + ptgbot-opendev-org-main: + - ptgbot.opendev.org diff --git a/playbooks/roles/letsencrypt-create-certs/handlers/main.yaml b/playbooks/roles/letsencrypt-create-certs/handlers/main.yaml index 1762fd73bf..e3b55b8b01 100644 --- a/playbooks/roles/letsencrypt-create-certs/handlers/main.yaml +++ b/playbooks/roles/letsencrypt-create-certs/handlers/main.yaml @@ -252,6 +252,9 @@ - name: letsencrypt updated translate01-openstack-org-main include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml +- name: letsencrypt updated ptgbot-opendev-org-main + include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml + # We split out handlers for each gitea host as handlers should be run in order # This allows us to do a rolling restart of the gitea backends. - name: letsencrypt updated gitea01-main