On 4/17/23 14:45, Finn Fysj via FreeIPA-users wrote:
So... We're using dynamic-inventory... And when I tried creating a static inventory dividing my hosts into the groups [ipaserver] and [ipareplicas] this worked... Without using these groups specifically my vars got ignored..?
How did you setup your inventory and which vars have been ignored?
Generally the ipaserver_* vars are used for the ipaserver role, the ipareplica_* vars for the replica role and the ipaclient_* vars for the ipaclient role. The ipaserver role is using the ipaclient role for the client deployment part on the server. The ipareplica role is at first deploying a client using the ipaclient role and then promoting this client to become a replica. Therefore also ipaclient_* vars are used for ipaserver and ipareplica roles. For simplification the ipareplica role can use some ipaserver vars if the matching ipareplica vars are not set.
There are examples for cluster deployments in the main and also the replica role README on the ansible-freeipa github page and also as part of the collection.
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahoste... Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue