2024-11-25 18:24:56 +10:00
|
|
|
---
|
2024-11-12 18:09:09 +10:00
|
|
|
- name: Make the app be real
|
2020-10-19 17:43:28 +02:00
|
|
|
hosts: os_masters[0]:os_masters_stg[0]
|
|
|
|
user: root
|
2024-11-25 18:24:56 +10:00
|
|
|
gather_facts: false
|
2020-10-19 17:43:28 +02:00
|
|
|
|
|
|
|
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
|
2024-11-14 18:59:42 +10:00
|
|
|
project_app: test-auth
|
|
|
|
project_description: "Authentication testing"
|
|
|
|
project_appowners:
|
2020-10-19 17:43:28 +02:00
|
|
|
- abompard
|
|
|
|
tags:
|
|
|
|
- apply-appowners
|
|
|
|
|
|
|
|
- role: openshift/imagestream
|
2024-11-28 17:57:11 +01:00
|
|
|
imagestream_app: test-auth
|
|
|
|
imagestream_imagename: test-auth
|
2020-10-19 17:43:28 +02:00
|
|
|
|
|
|
|
- role: openshift/object
|
2024-11-19 10:19:07 +10:00
|
|
|
object_app: test-auth
|
|
|
|
object_template: buildconfig.yml
|
|
|
|
object_objectname: buildconfig.yml
|
2020-10-19 17:43:28 +02:00
|
|
|
|
|
|
|
- role: openshift/object
|
2024-11-19 10:19:07 +10:00
|
|
|
object_app: test-auth
|
|
|
|
object_template: configmap.yml
|
|
|
|
object_objectname: configmap.yml
|
2020-10-19 17:43:28 +02:00
|
|
|
|
|
|
|
- role: openshift/object
|
2024-11-19 10:19:07 +10:00
|
|
|
object_app: test-auth
|
|
|
|
object_file: service.yml
|
|
|
|
object_objectname: service.yml
|
2020-10-19 17:43:28 +02:00
|
|
|
|
|
|
|
# - role: openshift/route
|
2024-11-19 12:11:50 +10:00
|
|
|
# route_app: test-auth
|
2024-12-03 11:26:36 +01:00
|
|
|
# route_name: test-auth
|
2024-11-19 12:11:50 +10:00
|
|
|
# route_host: "admin{{ env_suffix }}.fedoraproject.org"
|
|
|
|
# route_path: "/test-auth"
|
|
|
|
# route_serviceport: web
|
|
|
|
# route_servicename: test-auth
|
|
|
|
# route_annotations:
|
2020-10-19 17:43:28 +02:00
|
|
|
# haproxy.router.openshift.io/timeout: 5m
|
|
|
|
- role: openshift/route
|
2024-11-19 12:11:50 +10:00
|
|
|
route_app: test-auth
|
2024-12-03 11:26:36 +01:00
|
|
|
route_name: test-auth
|
2024-11-19 12:11:50 +10:00
|
|
|
route_host: "test-auth.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
|
|
|
route_serviceport: web
|
|
|
|
route_servicename: test-auth
|
|
|
|
route_annotations:
|
2020-10-19 17:43:28 +02:00
|
|
|
haproxy.router.openshift.io/timeout: 5m
|
|
|
|
|
|
|
|
- role: openshift/object
|
2024-11-19 10:19:07 +10:00
|
|
|
object_app: test-auth
|
|
|
|
object_template: secret-webhook.yml
|
|
|
|
object_objectname: secret-webhook.yml
|
2020-10-19 17:43:28 +02:00
|
|
|
|
|
|
|
- role: openshift/object
|
2024-11-19 10:19:07 +10:00
|
|
|
object_app: test-auth
|
|
|
|
object_template: deploymentconfig.yml
|
|
|
|
object_objectname: deploymentconfig.yml
|