copr: distgit: fix selinux context for letsencrypt, see d6b034984

This commit is contained in:
Jakub Kadlčík 2019-06-04 14:35:05 +02:00
parent 98f48a4188
commit 49d6f8343d

View file

@ -71,6 +71,18 @@
notify:
- reload httpd
- name: certbot, correct fcontext mapping the web root
sefcontext:
target: '/srv/web/acme-challenge/.well-known(/.*)'
setype: httpd_sys_content_t
state: present
- name: certbot, restorecon the web root
file:
path: /srv/web/acme-challenge/.well-known
state: directory
setype: httpd_sys_content_t
- name: temporary logrotation fix until copr-dist-git 0.26 is released & deployed
copy: src="logrotate.d/copr-dist-git" dest="/etc/logrotate.d/copr-dist-git"