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
This commit is contained in:
Antony Messerli 2019-04-13 11:46:41 -05:00
parent ac35ca3b2b
commit 79cbbd23d7

View File

@ -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