diff --git a/roles/mail_server/tasks/main.yml b/roles/mail_server/tasks/main.yml index 9baa464c9e71a7dbd61961412140f9698a194047..f31ab34fe852bc3ada4d011fe20e3541cc861b9d 100644 --- a/roles/mail_server/tasks/main.yml +++ b/roles/mail_server/tasks/main.yml @@ -46,7 +46,7 @@ - /var/spool/postfix/var/run/clamav - name: Copy the LDAP TLS truststore into Postfix chroot - command: rsync -ci "{{ mail_ldap_tls_truststore }}" "/var/spool/postfix/{{ mail_ldap_tls_truststore}}" + command: rsync -pci "{{ mail_ldap_tls_truststore }}" "/var/spool/postfix/{{ mail_ldap_tls_truststore}}" register: rsync_result changed_when: "rsync_result.stdout != ''"