diff --git a/playbooks/openshift-apps/bodhi.yml b/playbooks/openshift-apps/bodhi.yml new file mode 100644 index 0000000000..d566850746 --- /dev/null +++ b/playbooks/openshift-apps/bodhi.yml @@ -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 }}