ansible/playbooks/openshift-apps/transtats.yml
Ryan Lerch a40e3b8479 transtats - rename yml templates to .j2
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 08:37:31 +10:00

56 lines
1.5 KiB
YAML

---
- name: Make the app be real
hosts: os_control[0]:os_control_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
roles:
- role: openshift/project
project_app: transtats
project_description: transtats
project_appowners:
- suanand
- role: openshift/object
object_app: transtats
object_objectname: secret.yml
object_template: secret.yml.j2
- role: openshift/imagestream
imagestream_app: transtats
imagestream_imagename: transtats
- role: openshift/object
object_app: transtats
object_template: buildconfig.yml.j2
object_objectname: buildconfig.yml
- role: openshift/start-build
start_build_app: transtats
start_build_buildname: transtats-build
tags:
- never
- build
- role: openshift/object
object_app: transtats
object_file: service.yml
object_objectname: service.yml
- role: openshift/route
route_app: transtats
route_name: transtats-web
route_host: transtats{{ env_suffix }}.fedoraproject.org
route_serviceport: web
route_servicename: transtats-web
route_annotations:
haproxy.router.openshift.io/timeout: 8m
- role: openshift/object
object_app: transtats
object_file: deploymentconfig.yml
object_objectname: deploymentconfig.yml
- role: openshift/rollout
rollout_app: transtats
rollout_dcname: transtats-web
tags:
- never
- rollout