46 lines
993 B
YAML
46 lines
993 B
YAML
- name: make the app be real
|
|
hosts: os_masters_stg[0]:os_masters[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
|
|
app: websites
|
|
description: Fedora websites building
|
|
appowners:
|
|
- codeblock
|
|
- ryanlerch
|
|
|
|
- role: openshift/object
|
|
app: websites
|
|
file: pvc.yml
|
|
objectname: pvc.yml
|
|
|
|
- role: openshift/imagestream
|
|
app: websites
|
|
imagename: builder
|
|
|
|
- role: openshift/object
|
|
app: websites
|
|
template: buildconfig.yml
|
|
objectname: buildconfig.yml
|
|
|
|
- role: openshift/start-build
|
|
app: websites
|
|
buildname: websites-build
|
|
objectname: websites-build
|
|
|
|
- role: openshift/object
|
|
app: websites
|
|
template: configmap.yml
|
|
objectname: configmap.yml
|
|
|
|
- role: openshift/object
|
|
app: websites
|
|
template: cron.yml
|
|
objectname: cron.yml
|