Move FASJSON to OCP4 on staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
653e0d858f
commit
c1c5ef42fd
2 changed files with 14 additions and 1 deletions
|
@ -200,6 +200,18 @@
|
||||||
targettype: openshift
|
targettype: openshift
|
||||||
keephost: true
|
keephost: true
|
||||||
tags: fasjson
|
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
|
- role: httpd/reverseproxy
|
||||||
website: "id{{ env_suffix }}.fedoraproject.org"
|
website: "id{{ env_suffix }}.fedoraproject.org"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
- name: make the app be real
|
- name: make the app be real
|
||||||
hosts: os_masters[0]:os_masters_stg[0]
|
hosts: os_masters[0]:os_control_stg[0]
|
||||||
user: root
|
user: root
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
|
|
||||||
|
@ -9,6 +9,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
|
- ocp4: true
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: openshift/project
|
- role: openshift/project
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue