Move ironic_glance_api_servers variable into role

As part of cleaning inventory variables, we are
moving some of the variables to be created in
roles instead of in inventory. This moves the
ironic_glance_api_servers variable into role.

Change-Id: I983a20d923384bf54cb0af924ec0a0f8ef4db191
This commit is contained in:
Albert Mikaelyan 2018-03-02 18:56:53 +02:00
parent e48507e820
commit 28c06a2704
2 changed files with 4 additions and 1 deletions

View File

@ -18,6 +18,9 @@
# Verbosity Options
debug: False
# Comma separated list of Glance API servers
ironic_glance_api_servers: "{{ (glance_service_internalurl | default('http://localhost')) | netorigin }}"
# Set the package install state for distribution and pip packages
# Options are 'present' and 'latest'
ironic_package_state: "latest"

View File

@ -58,7 +58,7 @@ dhcp_provider = {{ ironic_dhcp_provider }}
[glance]
# TODO(evrardjp): Remove this in the future to use the service catalog
# and reduce the amount of variables.
glance_api_servers = {{ glance_api_servers }}
glance_api_servers = {{ ironic_glance_api_servers }}
{% if not ironic_standalone | bool %}
swift_temp_url_key = {{ ironic_swift_temp_url_secret_key }}
swift_container = {{ ironic_swift_image_container }}