mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
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:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user