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

This commit is contained in:
Jakub Kadlčík 2019-06-01 14:51:36 +02:00
parent 2a3a7c65ce
commit ac127ff44d

View file

@ -21,9 +21,14 @@
tags:
- config
- name: Set SELinux context for certs generation
- name: certbot, correct fcontext mapping the web root
sefcontext:
target: "/srv/web/acme-challenge/.well-known"
target: '/srv/web/acme-challenge/.well-known(/.*)'
setype: httpd_sys_content_t
state: present
when: devel
- name: certbot, restorecon the web root
file:
path: /srv/web/acme-challenge/.well-known
state: directory
setype: httpd_sys_content_t