WP-config.php permissions
This commit is contained in:
		| @@ -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 | ||||
		Reference in New Issue
	
	Block a user