From d9672137716ba17fcb2c0245d03727e84fc695af Mon Sep 17 00:00:00 2001 From: Massimiliano Favaro-Bedford <78351765+MaxBed4d@users.noreply.github.com> Date: Tue, 5 Nov 2024 17:05:32 +0100 Subject: [PATCH] Add the option to add further Password auth config. (#628) * Add the option to add further Password auth config. * Loop moved out of the authenticators * update method of adding extra authenticators * Edit to discription and format. * Add azimuth_authenticators_extra example * Update spacing between settings * Update indenting --------- Co-authored-by: Scott Davidson <49713135+sd109@users.noreply.github.com> --- roles/azimuth/defaults/main.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/roles/azimuth/defaults/main.yml b/roles/azimuth/defaults/main.yml index 35fc116d..2230cfe8 100644 --- a/roles/azimuth/defaults/main.yml +++ b/roles/azimuth/defaults/main.yml @@ -145,6 +145,19 @@ azimuth_authenticator_federated_identity_providers: provider: "{{ azimuth_authenticator_federated_provider }}" protocol: "{{ azimuth_authenticator_federated_protocol }}" # List of authenticators in the order in which they should appear in the form + +# Additional authenticators to include +azimuth_authenticators_extra: [] +# Example for authenticating with an additional Keystone domain: +# - hidden: false +# label: "What shows up on login dropdown menu" +# name: a_unique_name +# type: openstack-password +# openstackPassword: +# authUrl: https://keystone.openstack.example.com/v3 +# domain: my-domain +# verifySsl: true + azimuth_authenticators: >- {{- [] + @@ -195,7 +208,7 @@ azimuth_authenticators: >- ] if azimuth_authenticator_appcred_enabled else [] - ) + ) + azimuth_authenticators_extra }}