Set 'step_overcloud_prep_flavors' to false

As nova has been disabled by default, disable the flavor creation.

Change-Id: I7f6300407fcece11d98e7a251a5c026e7b1b2b79
Closes-Bug: #1894941
This commit is contained in:
Rabi Mishra 2020-09-09 12:08:43 +05:30
parent ea820055ac
commit 593fd63167
2 changed files with 9 additions and 1 deletions

View File

@ -44,7 +44,8 @@
tags:
- overcloud-prep-flavors
roles:
- overcloud-prep-flavors
- {role: overcloud-prep-flavors,
when: step_overcloud_prep_flavors|bool and undercloud_enable_nova|bool}
# Prepare the undercloud networks for the overcloud deployment
- name: Prepare the undercloud networks for the overcloud deployment

View File

@ -110,6 +110,13 @@ undercloud_enable_nova: >-
false
{%- endif %}
step_overcloud_prep_flavors: >-
{% if release in ['newton','ocata','pike','queens','rocky','stein','train', 'ussuri'] -%}
true
{%- else -%}
false
{%- endif -%}
# Set the location for the downloaded amphora image when download_amphora is true
octavia_amphora_path: >-
{% if release in ['queens', 'rocky'] -%}