diff --git a/roles/s-lb-wordpress/tasks/main.yml b/roles/s-lb-wordpress/tasks/main.yml index 5dd3c41..ba9f2e4 100644 --- a/roles/s-lb-wordpress/tasks/main.yml +++ b/roles/s-lb-wordpress/tasks/main.yml @@ -25,6 +25,14 @@ - {'regexp': "define\\('DB_USER', '(.)+'\\);", 'line': "define('DB_USER', '{{wp_mysql_user}}');"} - {'regexp': "define\\('DB_PASSWORD', '(.)+'\\);", 'line': "define('DB_PASSWORD', '{{wp_mysql_password}}');"} + + - name: Attributions des permissions + file: + path: /home/wordpress + recurse: yes + owner: 33 + group: 33 + # - name: Fix permissions # shell: chown -R www-data /var/www/wordpress/* #