47 lines
1.3 KiB
YAML
47 lines
1.3 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
|
|
|
|
roles:
|
|
- role: openshift/project
|
|
project_app: review-stats
|
|
project_description: Generate HTML with statistics about Fedora review tickets
|
|
project_appowners:
|
|
- mattia
|
|
- kevin
|
|
tags:
|
|
- apply-appowners
|
|
- role: openshift/imagestream
|
|
imagestream_app: review-stats
|
|
imagestream_imagename: builder
|
|
- role: openshift/object
|
|
object_app: review-stats
|
|
object_objectname: buildconfig.yml
|
|
object_template: buildconfig.yml.j2
|
|
- role: openshift/object
|
|
object_app: review-stats
|
|
object_template: configmap.yml.j2
|
|
object_objectname: configmap.yml
|
|
- role: openshift/object
|
|
object_app: review-stats
|
|
object_template: pvc.yml.j2
|
|
object_objectname: pvc.yml
|
|
- role: openshift/start-build
|
|
start_build_app: review-stats
|
|
start_build_buildname: builder-build
|
|
tags:
|
|
- never
|
|
- build
|
|
- role: openshift/object
|
|
object_app: review-stats
|
|
object_template: cron.yml.j2
|
|
object_objectname: cron.yml
|
|
tags:
|
|
- deploy-cronjob
|