Enable TLS with Postfix

This commit is contained in:
Jason Rothstein 2022-04-10 22:36:09 -05:00
parent 7e4dc6b245
commit 4395b8034c

View File

@ -48,6 +48,12 @@ service_list:
- enabled: 'yes' - enabled: 'yes'
name: 'postfix.service' name: 'postfix.service'
state: 'started' state: 'started'
- enabled: 'yes'
name: 'postfix-copytls.service'
state: 'started'
- enabled: 'yes'
name: 'postfix-copytls.timer'
state: 'started'
template_list: template_list:
- dest: '/etc/postfix/dynamicmaps.cf.d/ldap' - dest: '/etc/postfix/dynamicmaps.cf.d/ldap'
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/postfix/dynamicmaps.cf.d/ldap' src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/postfix/dynamicmaps.cf.d/ldap'