Add bodhi openshift playbook
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
b12953aacd
commit
8746f0777c
1 changed files with 24 additions and 0 deletions
24
playbooks/openshift-apps/bodhi.yml
Normal file
24
playbooks/openshift-apps/bodhi.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
- name: make the app be real
|
||||
hosts: os-masters-stg
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
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: bodhi
|
||||
description: bodhi
|
||||
appowners:
|
||||
- bowlofeggs
|
||||
- { role: openshift/object, vars: {app: bodhi, file: imagestream.yml }}
|
||||
- { role: openshift/object, vars: {app: bodhi, file: buildconfig.yml }}
|
||||
- { role: openshift/start-build, vars: {app: bodhi, name: bodhi-web-build }}
|
||||
- { role: openshift/object, vars: {app: bodhi, template: configmap.yml }}
|
||||
- { role: openshift/object, vars: {app: bodhi, file: service.yml }}
|
||||
- { role: openshift/object, vars: {app: bodhi, file: route.yml }}
|
||||
- { role: openshift/object, vars: {app: bodhi, file: deploymentconfig.yml }}
|
||||
- { role: openshift/rollout, vars: {app: bodhi, name: bodhi-web }}
|
Loading…
Add table
Add a link
Reference in a new issue