Fix selinux
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2021-01-06 22:32:46 +01:00
parent c09e206bdb
commit e76d715cc3
Signed by: adrien
GPG key ID: DA7B27055C66D6DE

View file

@ -24,6 +24,16 @@
- conf.d/10-ssl.conf
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
firewalld:
service: imaps