From f9cf2f890b590afd8af17d753d8b3590ab32595f Mon Sep 17 00:00:00 2001 From: nazunalika Date: Thu, 4 Feb 2021 19:50:06 -0700 Subject: [PATCH] forgot template --- role-rocky-ipa-replica.yml | 11 ----------- templates/tmp/binder_template.update | 7 +++++++ 2 files changed, 7 insertions(+), 11 deletions(-) create mode 100644 templates/tmp/binder_template.update 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