Run flavor prep tasks only when nova is enabled
These tasks are not needed when nova is not setup on undercloud. Related-Bug: #1891242 Closes-Bug: #1894941 Change-Id: Ie8b95ade76b1d13c1049a019fe83c04128a1e58d
This commit is contained in:
parent
ea820055ac
commit
339c2fe46f
@ -6,3 +6,4 @@
|
||||
src: "{{ overcloud_prep_flavors_script }}"
|
||||
dest: "{{ working_dir }}/overcloud-prep-flavors.sh"
|
||||
mode: 0755
|
||||
when: undercloud_enable_nova|bool
|
||||
|
@ -5,3 +5,4 @@
|
||||
{{ working_dir }}/overcloud-prep-flavors.sh 2>&1 {{ timestamper_cmd }} >
|
||||
{{ overcloud_prep_flavors_log }}
|
||||
changed_when: true
|
||||
when: undercloud_enable_nova|bool
|
||||
|
Loading…
Reference in New Issue
Block a user