From d34b3b8ffa23cb9fa8da128d41422b33d34ead84 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Tue, 18 Jun 2019 13:09:24 +0000 Subject: [PATCH] coreos-cincinnati: undo some playbook breakage Conditional build/deploy does not work with current role-based split (vars cannot be registered after them). Let's undo this for now. Signed-off-by: Luca Bruno --- playbooks/openshift-apps/coreos-cincinnati.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/playbooks/openshift-apps/coreos-cincinnati.yml b/playbooks/openshift-apps/coreos-cincinnati.yml index 5304baf037..b367b3ad7d 100644 --- a/playbooks/openshift-apps/coreos-cincinnati.yml +++ b/playbooks/openshift-apps/coreos-cincinnati.yml @@ -29,24 +29,16 @@ app: coreos-cincinnati template: buildconfig-stub.yml objectname: buildconfig-stub.yml - register: coreos_cincinnati_stub_build - - - role: openshift/start-build - app: coreos-cincinnati - buildname: coreos-cincinnati-stub - when: coreos_cincinnati_stub_build.changed - role: openshift/object app: coreos-cincinnati file: config-stub.yml objectname: config-stub.yml - register: coreos_cincinnati_stub_config - role: openshift/object app: coreos-cincinnati template: deploymentconfig.yml objectname: deploymentconfig.yml - register: coreos_cincinnati_deployment - role: openshift/object app: coreos-cincinnati @@ -63,4 +55,3 @@ - role: openshift/rollout app: coreos-cincinnati dcname: coreos-cincinnati-stub - when: coreos_cincinnati_stub_config.changed or coreos_cincinnati_deployment.changed