From 1c3bdbe7c7cbde15961af8480b08ca51bb8a0a52 Mon Sep 17 00:00:00 2001 From: Patrick Neff Date: Sun, 23 Jan 2022 01:10:25 +0100 Subject: [PATCH] fix --- tasks/main.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 }}"