freeipa / ansible-freeipa

Ansible roles and modules for FreeIPA
GNU General Public License v3.0
494 stars 232 forks source link

ipareplica - the variable ipareplica_auto_forwarders=yes does not work #1234

Open erichoog opened 4 months ago

erichoog commented 4 months ago

The ipareplica roles does not seem to set the forwarders automatically when using the ipareplica_auto_forwarders=yes variable.

In the logs it seems to detect the DNS servers listed in /etc/resolv.conf but after deployment they are not actually added to the replica DNS server. This works fine on the ipaserver role with the respective variable.

Switching to use the explicit ipareplica_forwaders= variable works fine.

This is on a RHEL 9.3 system and using the current version of the collection.

Controller ansible version = 2.11 (I just realized the collection says 2.13 or higher required so that might be related. I'll try to test that theory later on.)