ansible/playbooks/openshift-apps/test-auth.yml
Aurélien Bompard 483f9802ac
s/route_routename/route_name/g
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 11:26:36 +01:00

68 lines
1.9 KiB
YAML

---
- name: Make the app be real
hosts: os_masters[0]:os_masters_stg[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
project_app: test-auth
project_description: "Authentication testing"
project_appowners:
- abompard
tags:
- apply-appowners
- role: openshift/imagestream
imagestream_app: test-auth
imagestream_imagename: test-auth
- role: openshift/object
object_app: test-auth
object_template: buildconfig.yml
object_objectname: buildconfig.yml
- role: openshift/object
object_app: test-auth
object_template: configmap.yml
object_objectname: configmap.yml
- role: openshift/object
object_app: test-auth
object_file: service.yml
object_objectname: service.yml
# - role: openshift/route
# route_app: test-auth
# route_name: test-auth
# route_host: "admin{{ env_suffix }}.fedoraproject.org"
# route_path: "/test-auth"
# route_serviceport: web
# route_servicename: test-auth
# route_annotations:
# haproxy.router.openshift.io/timeout: 5m
- role: openshift/route
route_app: test-auth
route_name: test-auth
route_host: "test-auth.apps.ocp{{ env_suffix }}.fedoraproject.org"
route_serviceport: web
route_servicename: test-auth
route_annotations:
haproxy.router.openshift.io/timeout: 5m
- role: openshift/object
object_app: test-auth
object_template: secret-webhook.yml
object_objectname: secret-webhook.yml
- role: openshift/object
object_app: test-auth
object_template: deploymentconfig.yml
object_objectname: deploymentconfig.yml