ansible/playbooks/openshift-apps/websites.yml
Rick Elrod 39c4f31f88 o-a/websites: add pvc
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-06-12 13:26:05 -05:00

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