Move Bodhi to OCP4 on staging

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2022-04-14 10:51:32 +02:00
parent 6c43fb870b
commit 0c9619a8a9
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
2 changed files with 12 additions and 1 deletions

View file

@ -323,6 +323,16 @@
wikipath: /wiki
proxyurl: "{{ varnish_url }}"
- role: httpd/reverseproxy
website: bodhi.fedoraproject.org
destname: bodhi
balancer_name: apps-ocp
balancer_members: "{{ (env == 'staging')|ternary(ocp_nodes_stg, ocp_nodes) }}"
targettype: openshift
keephost: true
ocp4: true
tags: bodhi
when: env == "staging"
- role: httpd/reverseproxy
website: bodhi.fedoraproject.org
destname: bodhi
@ -330,6 +340,7 @@
targettype: openshift
keephost: true
tags: bodhi
when: env != "staging"
#
# fedora core os routes

View file

@ -1,5 +1,5 @@
- name: make the app be real
hosts: os_masters[0]:os_masters_stg[0]
hosts: os_masters[0]:os_control_stg[0]
user: root
gather_facts: False