diff --git a/roles/mail_forwarder/tasks/main.yml b/roles/mail_forwarder/tasks/main.yml index dbcb7b9122e81a44cce2147f37539607aa9a6d8a..6e9cb0938f0c411d71b1080ee085eba5547aa04f 100644 --- a/roles/mail_forwarder/tasks/main.yml +++ b/roles/mail_forwarder/tasks/main.yml @@ -6,6 +6,10 @@ - name: Purge Exim configuration apt: name="exim4*" state=absent purge=yes +- name: Deploy the SMTP relay TLS truststore + copy: content="{{ smtp_relay_truststore }}" dest="/etc/ssl/certs/smtp_relay_truststore.pem" + owner=root group=root mode=644 + - name: Deploy Postfix main configuration template: src="main.cf.j2" dest="/etc/postfix/main.cf" notify: