From aff4bdf3010299bdd5fe5a9b7cac885edf7d7ea3 Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Fri, 13 Dec 2019 09:53:54 -0700 Subject: [PATCH] Ensure undercloud is containerized We only need to run this container bits if the undercloud is containerized. Change-Id: Ib4df9c1d5deafbe1009d2dc38275f4b1a1bde640 --- playbooks/multinode-undercloud-upgrade.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/playbooks/multinode-undercloud-upgrade.yml b/playbooks/multinode-undercloud-upgrade.yml index 10851d378..391a06068 100644 --- a/playbooks/multinode-undercloud-upgrade.yml +++ b/playbooks/multinode-undercloud-upgrade.yml @@ -26,7 +26,9 @@ - undercloud-upgrade roles: - role: container-update - when: containerized_undercloud_upgrade|default(false)|bool + when: + - containerized_undercloud|bool + - containerized_undercloud_upgrade|default(false)|bool - name: Run tripleo-upgrade role to upgrade undercloud hosts: undercloud