diff --git a/deployment/ipa/ipaservices-baremetal-ansible.yaml b/deployment/ipa/ipaservices-baremetal-ansible.yaml index 1e14b8179f..b42fe02042 100644 --- a/deployment/ipa/ipaservices-baremetal-ansible.yaml +++ b/deployment/ipa/ipaservices-baremetal-ansible.yaml @@ -39,11 +39,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. @@ -82,7 +82,7 @@ parameters: conditions: idm_server_provided: not: - equals: [{get_param: IdMServer}, ""] + equals: [{get_param: IdMServer}, []] outputs: role_data: @@ -115,7 +115,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'] }}"