Am 26.10.20 um 21:39 schrieb Rafael Jeffman via FreeIPA-users:
Hello,
On Mon, Oct 26, 2020 at 2:13 PM Ulrich-Lorenz Schlüter via FreeIPA-users
<freeipa-users(a)lists.fedorahosted.org
<mailto:freeipa-users@lists.fedorahosted.org>> wrote:
>
> Hello there,
>
> when I deploy the freeipa-client to hosts behind a haproxy most of the
> hostnames get changed to the rDNS entry of the haproxy. The
> freeipa-clients get enrolled with this name. I know I can set --hostname
> but how to do this with ansible-freeipa?
>
> Thanks in advance & best regards
> Uli
I assume you are using the ipaclient role, in this case, use the
variable `ipaclient_hostname` to set the client hostname.
Regards,
Rafael
Now working as expected. Seems to be missing in the documentation.
Thanks
Uli