openscanhub: proxy setup for both prod and stg

Change the stg conditionals so both prod and stg are setup.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2024-02-27 12:36:35 -08:00 committed by kevin
parent b7d6994507
commit 4da77268dd
2 changed files with 2 additions and 4 deletions

View file

@ -928,7 +928,7 @@
when: env == "staging"
- role: httpd/reverseproxy
website: openscanhub.stg.fedoraproject.org
website: "openscanhub{{ env_suffix }}.fedoraproject.org"
destname: openscanhub
balancer_name: apps-ocp
balancer_members: "{{ (env == 'staging')|ternary(ocp_nodes_stg, ocp_nodes) }}"
@ -936,4 +936,3 @@
keephost: true
ocp4: true
tags: openscanhub
when: env == "staging"

View file

@ -1187,10 +1187,9 @@
- discussion
- role: httpd/website
site_name: openscanhub.stg.fedoraproject.org
site_name: "openscanhub{{ env_suffix }}.fedoraproject.org"
ssl: true
sslonly: true
cert_name: "{{wildcard_cert_name}}"
when: env == "staging"
tags:
- openscanhub