From 79cbbd23d7b4a257fd9f58e0c46c61e5f8880d29 Mon Sep 17 00:00:00 2001 From: Antony Messerli Date: Sat, 13 Apr 2019 11:46:41 -0500 Subject: [PATCH] Skip neutron rebalance if ha-tool is disabled If neutron_legacy_ha_tool_enabled is disabled, it will skip the step as the tool is probably not present. Change-Id: I4ef054feeacb380e1c8d1f7b243ffe37ef6d5183 --- .../upgrade-utilities/neutron-remove-old-containers.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/leap-upgrades/upgrade-utilities/neutron-remove-old-containers.yml b/leap-upgrades/upgrade-utilities/neutron-remove-old-containers.yml index 4a0d7fe7..a58e5cee 100644 --- a/leap-upgrades/upgrade-utilities/neutron-remove-old-containers.yml +++ b/leap-upgrades/upgrade-utilities/neutron-remove-old-containers.yml @@ -43,3 +43,4 @@ /opt/neutron-ha-tool.py --replicate-dhcp --now --insecure args: executable: /bin/bash + when: (neutron_legacy_ha_tool_enabled | default('no')) | bool