Add ansible var to enable swift on undercloud

This would allow us to enable swift on the undercloud
when using quickstart.

Depends-On: https://review.opendev.org/c/openstack/python-tripleoclient/+/772968
Change-Id: Ied28977184c43e9d64c160e52d2ac501ba34705a
This commit is contained in:
ramishra 2021-02-02 08:14:15 +05:30
parent bdd0d21500
commit c619e45f2d
2 changed files with 9 additions and 0 deletions

View File

@ -160,3 +160,9 @@ undercloud_enable_zaqar: >-
{%- else -%}
false
{%- endif %}
undercloud_enable_swift: >-
{% if release in ['queens', 'rocky', 'stein', 'train', 'ussuri', 'victoria'] -%}
true
{%- else -%}
false
{%- endif %}

View File

@ -257,6 +257,9 @@ enable_ironic_inspector = {{undercloud_enable_ironic_inspector}}
# Whether to install Zaqar in the Undercloud. (boolean value)
enable_zaqar = {{undercloud_enable_zaqar}}
# Whether to install Swift in the Undercloud. (boolean value)
enable_swift = {{undercloud_enable_swift}}
# Whether to enable Swift encryption at-rest or not. (boolean value)
enable_swift_encryption = {{undercloud_enable_swift_encryption}}