Honour standalone updates too for container-prep

This is needed for running standalone deploy with
container updates outside of zuul. In zuul jobs issue
was not detected as update_containers is always
set for zuul jobs.

Partial-Bug: #1889219
Change-Id: I87a0214a344a9b23dd267e412a37b2abe0eb0571
This commit is contained in:
yatinkarel 2020-08-05 14:40:30 +05:30
parent 1e299a0495
commit d151bee4a6
1 changed files with 3 additions and 1 deletions

View File

@ -60,7 +60,9 @@
set_fact:
update_containers_append_tag: "{{ lookup('pipe','date +-updated-%Y%m%d%H%M%S') }}"
cacheable: true
when: update_containers is defined and update_containers|bool and update_containers_append_tag is undefined
when:
- update_containers_append_tag is undefined
- (update_containers is defined and update_containers|bool) or (standalone_container_prep_updates is defined and standalone_container_prep_updates|bool)
tags:
- undercloud-install