mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
72 lines
1.7 KiB
YAML
72 lines
1.7 KiB
YAML
#
|
|
# Fedora Project easyfixes
|
|
#
|
|
---
|
|
- name: Make the app be real
|
|
# hosts: os_control_stg:os_control
|
|
hosts: os_control_stg
|
|
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: easyfix
|
|
project_description: "Easyfixes"
|
|
project_appowners:
|
|
- abompard
|
|
tags:
|
|
- apply-appowners
|
|
|
|
- role: openshift/object
|
|
object_app: easyfix
|
|
object_file: imagestream.yml
|
|
object_objectname: imagestream.yml
|
|
|
|
- role: openshift/object
|
|
object_app: easyfix
|
|
object_template: buildconfig.yml.j2
|
|
object_objectname: buildconfig.yml
|
|
|
|
- role: openshift/object
|
|
object_app: easyfix
|
|
object_file: storage.yml
|
|
object_objectname: storage.yml
|
|
|
|
- role: openshift/object
|
|
object_app: easyfix
|
|
object_template: configmap.yml.j2
|
|
object_objectname: configmap.yml
|
|
|
|
- role: openshift/object
|
|
object_app: easyfix
|
|
object_file: service.yml
|
|
object_objectname: service.yml
|
|
|
|
# Routes
|
|
- role: openshift/route
|
|
route_app: easyfix
|
|
route_name: web
|
|
route_host: "easyfix.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
|
route_servicename: web
|
|
route_serviceport: web
|
|
route_annotations:
|
|
haproxy.router.openshift.io/timeout: 5m
|
|
|
|
- role: openshift/object
|
|
object_app: easyfix
|
|
object_template: deploymentconfig.yml.j2
|
|
object_objectname: deploymentconfig.yml
|
|
|
|
# Cron jobs
|
|
- role: openshift/object
|
|
object_app: easyfix
|
|
object_template: cron.yml.j2
|
|
object_objectname: cron.yml
|