Files
fedora-infra_ansible/playbooks/openshift-apps/ipsilon-website.yml
Aurélien Bompard 1bc48f6751 Two routes can't have the same name
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-05-27 16:30:22 +02:00

59 lines
1.4 KiB
YAML

- name: make the app be real
hosts: os_control_stg[0]:os_control[0]
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
vars:
roles:
- role: openshift/project
app: ipsilon-website
description: "ipsilon-project.org"
appowners:
- abompard
- puiterwijk
tags:
- apply-appowners
- role: openshift/imagestream
app: ipsilon-website
imagename: ipsilon-website
- role: openshift/object
app: ipsilon-website
template: buildconfig.yml
objectname: buildconfig.yml
- role: openshift/object
app: ipsilon-website
file: service.yml
objectname: service.yml
- role: openshift/route
app: ipsilon-website
routename: web-internal
host: "ipsilon-website.apps.ocp{{ env_suffix }}.fedoraproject.org"
serviceport: web
servicename: web
annotations:
haproxy.router.openshift.io/timeout: 5m
- role: openshift/route
app: ipsilon-website
routename: web
host: "ipsilon-project.org"
serviceport: web
servicename: web
annotations:
haproxy.router.openshift.io/timeout: 5m
- role: openshift/object
app: ipsilon-website
template: deploymentconfig.yml
objectname: deploymentconfig.yml