Adjust selinux command line
This commit is contained in:
parent
7f083ce806
commit
cd932d5795
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue