Add zezere playbook and files
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
ac54d9ed67
commit
4149eb4f76
5 changed files with 195 additions and 0 deletions
48
playbooks/openshift-apps/zezere.yml
Normal file
48
playbooks/openshift-apps/zezere.yml
Normal file
|
@ -0,0 +1,48 @@
|
|||
- name: make the app be real
|
||||
hosts: os_masters_stg[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: zezere
|
||||
description: Zezere provisioning service
|
||||
appowners:
|
||||
- puiterwijk
|
||||
- pbrobinson
|
||||
- role: openshift/imagestream
|
||||
app: zezere
|
||||
imagename: zezere
|
||||
- role: openshift/object
|
||||
app: zezere
|
||||
objectname: buildconfig.yml
|
||||
file: buildconfig.yml
|
||||
- role: openshift/start-build
|
||||
app: zezere
|
||||
buildname: zezere
|
||||
- role: openshift/object
|
||||
app: zezere
|
||||
file: service.yml
|
||||
objectname: service.yml
|
||||
- role: openshift/route
|
||||
app: zezere
|
||||
routename: zezere
|
||||
host: "provision{{ env_suffix }}.fedoraproject.org"
|
||||
servicename: zezere
|
||||
serviceport: 8080
|
||||
- role: openshift/object
|
||||
app: zezere
|
||||
template: secret.yml
|
||||
objectname: secret.yml
|
||||
- role: openshift/object
|
||||
app: zezere
|
||||
template: deploymentconfig.yml
|
||||
objectname: deploymentconfig.yml
|
||||
- role: openshift/rollout
|
||||
app: zezere
|
||||
dcname: zezere
|
Loading…
Add table
Add a link
Reference in a new issue