diff --git a/tasks/main.yml b/tasks/main.yml index 7c24585..1b3ef3b 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -39,7 +39,7 @@ dest: /etc/nscd.conf - src: nsswitch.conf dest: /etc/nsswitch.conf - - src: "ldap/{{ ldap_cert }}" + - src: "{{ ldap_cert }}" dest: "/etc/ldap/{{ ldap_cert }}" notify: - restart_nscd @@ -63,10 +63,6 @@ - restart_nslcd - restart_sssd - - name: Copy certificate file. - ansible.builtin.copy: - src: "{{ ldap_cert }}" - - name: Enable services. ansible.builtin.service: name: "{{ item }}"