diff --git a/role-rocky-ipa-replica.yml b/role-rocky-ipa-replica.yml index 5994194..d36ed6c 100644 --- a/role-rocky-ipa-replica.yml +++ b/role-rocky-ipa-replica.yml @@ -37,17 +37,6 @@ notify: - reload_networkmanager - - name: Ensure resolv.conf is pointing to main master - template: - src: etc/resolv.conf.j2 - dest: /etc/resolv.conf - owner: root - group: root - mode: '0644' - backup: true - notify: - - reload_networkmanager - roles: - role: freeipa.ansible_freeipa.ipareplica state: present diff --git a/templates/tmp/binder_template.update b/templates/tmp/binder_template.update new file mode 100644 index 0000000..63a87ed --- /dev/null +++ b/templates/tmp/binder_template.update @@ -0,0 +1,7 @@ +dn: uid={{ ipa_binder_name }},cn=sysaccounts,cn=etc,dc=rockylinux,dc=org +add:objectclass:account +add:objectclass:simplesecurityobject +add:uid:{{ ipa_binder_name }} +add:userPassword:{{ ipa_binder_password }} +add:passwordExpirationTime:20380119031407Z +add:nsIdleTimeout:0