Hello,

On Mon, Oct 26, 2020 at 2:13 PM Ulrich-Lorenz Schl├╝ter via FreeIPA-users <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