WP-config.php permissions
This commit is contained in:
parent
43f18f4e73
commit
04a3a1c37f
@ -9,3 +9,13 @@
|
||||
src: files/wp-config.php.j2
|
||||
dest: /var/www/{{ vhost_name }}/wp-config.php
|
||||
when: not project_config.stat.exists
|
||||
|
||||
- name: Chown
|
||||
become: true
|
||||
shell: chown -R www-data:www-data /var/www/{{ vhost_name }}/wp-config.php
|
||||
when: not project_config.stat.exists
|
||||
|
||||
- name: Chmod
|
||||
become: true
|
||||
shell: chmod -R 755 /var/www/{{ vhost_name }}/wp-config.php
|
||||
when: not project_config.stat.exists
|
Loading…
Reference in New Issue
Block a user