From 8746f0777cb3304031f35769a86b9b641c73e276 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Fri, 13 Apr 2018 13:02:24 +0000 Subject: [PATCH] Add bodhi openshift playbook Signed-off-by: Patrick Uiterwijk --- playbooks/openshift-apps/bodhi.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 playbooks/openshift-apps/bodhi.yml 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 }}