This commit is contained in:
parent
c09e206bdb
commit
e76d715cc3
1 changed files with 10 additions and 0 deletions
|
|
@ -24,6 +24,16 @@
|
||||||
- conf.d/10-ssl.conf
|
- conf.d/10-ssl.conf
|
||||||
notify: Restart dovecot
|
notify: Restart dovecot
|
||||||
|
|
||||||
|
- name: Set selinux context to certificates
|
||||||
|
sefcontext:
|
||||||
|
target: '{{ item }}'
|
||||||
|
setype: dovecot_cert_t
|
||||||
|
state: present
|
||||||
|
with_items:
|
||||||
|
- /etc/lego/certificates/{{ postfix_myhostname }}.issuer.crt
|
||||||
|
- /etc/lego/certificates/{{ postfix_myhostname }}.crt
|
||||||
|
- /etc/lego/certificates/{{ postfix_myhostname }}.key
|
||||||
|
|
||||||
- name: Open Firewalld
|
- name: Open Firewalld
|
||||||
firewalld:
|
firewalld:
|
||||||
service: imaps
|
service: imaps
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue