Merge "IDM server registration is fixed to one server only"
This commit is contained in:
commit
80e21ff5b4
|
@ -35,11 +35,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 be set explicitly.
|
||||
type: string
|
||||
type: comma_delimited_list
|
||||
IdMNovaKeytab:
|
||||
default: 'FILE:/etc/novajoin/krb5.keytab'
|
||||
description: keytab for the nova/[host fqdn] user on the FreeIPA server.
|
||||
|
@ -78,7 +78,7 @@ parameters:
|
|||
conditions:
|
||||
idm_server_provided:
|
||||
not:
|
||||
equals: [{get_param: IdMServer}, ""]
|
||||
equals: [{get_param: IdMServer}, []]
|
||||
|
||||
outputs:
|
||||
role_data:
|
||||
|
@ -111,7 +111,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'] }}"
|
||||
|
|
Loading…
Reference in New Issue