Move WEBSSO_INITIAL_CHOICE setting to variable

Currently, WEBSSO_INITIAL_CHOICE is hard-coded in template, this patchset
convert WEBSSO_INITIAL_CHOICE setting to variable horizon_websso_initial_choice
in main.yml

Change-Id: I7e18ec981f6a575ee81da1429545f8b46a771fb8
Closes-bug: #1660322
This commit is contained in:
Duong Ha-Quang 2017-05-29 17:22:28 +07:00
parent 8ce498165e
commit 1283febbb1
2 changed files with 6 additions and 1 deletions

View File

@ -301,3 +301,8 @@ horizon_config_overrides: {}
horizon_keystone_admin_roles:
- admin
# Set the "credentials" authentication choice to show as default.
# The list of authentication mechanisms which include keystone
# federation protocols and identity provider/federation protocol
horizon_websso_initial_choice: "credentials"

View File

@ -176,7 +176,7 @@ OPENSTACK_KEYSTONE_DEFAULT_ROLE = "{{ horizon_default_role_name }}"
WEBSSO_ENABLED = True
# Determines which authentication choice to show as default.
WEBSSO_INITIAL_CHOICE = "credentials"
WEBSSO_INITIAL_CHOICE = "{{ horizon_websso_initial_choice }}"
# The list of authentication mechanisms which include keystone
# federation protocols and identity provider/federation protocol