copr: frontend: fix selinux context for letsencrypt, see d6b034984
This commit is contained in:
parent
2a3a7c65ce
commit
ac127ff44d
1 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue