Merge "IDM server registration is fixed to one server only" into stable/train

This commit is contained in:
Zuul 2022-05-12 23:51:24 +00:00 committed by Gerrit Code Review
commit 847982a51a
1 changed files with 5 additions and 5 deletions

View File

@ -42,11 +42,11 @@ parameters:
through DNS and does not have to be set explicitly.
type: string
IdMServer:
default: ''
default: []
description: FQDN for the FreeIPA server. If you set this value, IdMDomain
also has to be provided. Typically, this is discovered
through DNS and does not have to set explicitly.
type: string
through DNS and does not have to be set explicitly.
type: comma_delimited_list
IdMNovaKeytab:
default: 'FILE:/etc/novajoin/krb5.keytab'
description: keytab for the nova/[host fqdn] user on the FreeIPA server.
@ -85,7 +85,7 @@ parameters:
conditions:
idm_server_provided:
not:
equals: [{get_param: IdMServer}, ""]
equals: [{get_param: IdMServer}, []]
outputs:
role_data:
@ -118,7 +118,7 @@ outputs:
environment:
if:
- idm_server_provided
- IPA_HOST: {get_param: IdMServer}
- IPA_HOST: {get_param: [IdMServer, 0]}
IPA_USER: "nova/{{ ansible_facts['fqdn'] }}"
KRB5_CLIENT_KTNAME: {get_param: IdMNovaKeytab}
- IPA_USER: "nova/{{ ansible_facts['fqdn'] }}"