roles/nginx: Change owner/group of WordPress folder to nginx after cloning
Otherwise stuff like theme and plugin installs won't work. Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
60c37821d6
commit
4507e20155
@ -26,4 +26,10 @@
|
|||||||
with_items: nginx_tls_vhosts
|
with_items: nginx_tls_vhosts
|
||||||
tags: wordpress
|
tags: wordpress
|
||||||
|
|
||||||
|
- name: Fix WordPress directory permissions
|
||||||
|
file: path={{ nginx_root_prefix }}/{{ item.nginx_domain_name }} state=directory owner=nginx group=nginx recurse=yes
|
||||||
|
when: item.has_wordpress == 'yes'
|
||||||
|
with_items: nginx_tls_vhosts
|
||||||
|
tags: wordpress
|
||||||
|
|
||||||
# vim: set ts=2 sw=2:
|
# vim: set ts=2 sw=2:
|
||||||
|
Loading…
Reference in New Issue
Block a user