Move FASJSON to OCP4 on staging

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2022-05-03 17:54:05 +02:00
parent 653e0d858f
commit c1c5ef42fd
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
2 changed files with 14 additions and 1 deletions

View file

@ -200,6 +200,18 @@
targettype: openshift
keephost: true
tags: fasjson
when: env != "staging"
- role: httpd/reverseproxy
website: "fasjson{{ env_suffix }}.fedoraproject.org"
destname: fasjson
balancer_name: apps-ocp
balancer_members: "{{ (env == 'staging')|ternary(ocp_nodes_stg, ocp_nodes) }}"
targettype: openshift
keephost: true
ocp4: true
tags: fasjson
when: env == "staging"
- role: httpd/reverseproxy
website: "id{{ env_suffix }}.fedoraproject.org"

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
@ -9,6 +9,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
vars:
- ocp4: true
roles:
- role: openshift/project