mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-25 11:00:32 +08:00
fixing selinux context
This commit is contained in:
@@ -40,6 +40,6 @@
|
||||
- unzip
|
||||
|
||||
- name: set the SELinux policy for the Wordpress web dir
|
||||
command: semanage fcontext -a -t httpd_sys_content_t "/var/www/html/(.*)"
|
||||
command: semanage fcontext -a -t httpd_sys_content_t "/var/www/html/(*)"
|
||||
#when: webcontext.stdout.find('httpd_sys_content_t') == -1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user