From 7828d23e65f533176e26673075d310c132f05244 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 3 Jul 2018 18:52:24 +0000 Subject: [PATCH] Reformat transtats playbook and add names for various objects --- playbooks/openshift-apps/transtats.yml | 39 ++++++++++++++++++++------ 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/playbooks/openshift-apps/transtats.yml b/playbooks/openshift-apps/transtats.yml index 10d1588472..b991700e15 100644 --- a/playbooks/openshift-apps/transtats.yml +++ b/playbooks/openshift-apps/transtats.yml @@ -14,11 +14,34 @@ description: transtats appowners: - suanand - - { role: openshift/object, vars: {app: transtats, template: secret.yml }} - - { role: openshift/object, vars: {app: transtats, file: imagestream.yml }} - - { role: openshift/object, vars: {app: transtats, file: buildconfig.yml }} - - { role: openshift/start-build, vars: {app: transtats, name: transtats-build }} - - { role: openshift/object, vars: {app: transtats, file: service.yml }} - - { role: openshift/object, vars: {app: transtats, file: route.yml }} - - { role: openshift/object, vars: {app: transtats, file: deploymentconfig.yml }} - - { role: openshift/rollout, vars: {app: transtats, name: transtats-web }} + - role: openshift/object + app: transtats + template: secret.yml + - role: openshift/object + app: transtats + file: imagestream.yml + imagename: transtats + - role: openshift/object + app: transtats + file: buildconfig.yml + objectname: buildconfig.yml + - role: openshift/start-build + app: transtats + buildname: transtats-web + - role: openshift/object + app: transtats + file: service.yml + objectname: service.yml + - role: openshift/object + app: transtats + routename: transtats-web + file: route.yml + serviceport: web + servicename: transtats-web + - role: openshift/object + app: transtats + file: deploymentconfig.yml + objectname: deploymentconfig.yml + - role: openshift/rollout + app: transtats + name: transtats-web