diff --git a/tools/deployment/deploy.yml b/tools/deployment/deploy.yml index ae16fd9..3320dc9 100644 --- a/tools/deployment/deploy.yml +++ b/tools/deployment/deploy.yml @@ -1,5 +1,6 @@ --- - hosts: web + become: true vars_files: - vars/vars.yml diff --git a/tools/deployment/roles/drupal-permissions/tasks/main.yml b/tools/deployment/roles/drupal-permissions/tasks/main.yml index d552941..eec257c 100644 --- a/tools/deployment/roles/drupal-permissions/tasks/main.yml +++ b/tools/deployment/roles/drupal-permissions/tasks/main.yml @@ -1,7 +1,7 @@ --- - name: Set the permissions for each Drupal root directory. file: - group: www-data + group: ubuntu mode: ug=rX,o= owner: "{{ drupal_permissions.user }}" path: "{{ item.root }}" diff --git a/tools/deployment/vars/deploy_vars.yml b/tools/deployment/vars/deploy_vars.yml index 44f50fe..4cf21b0 100644 --- a/tools/deployment/vars/deploy_vars.yml +++ b/tools/deployment/vars/deploy_vars.yml @@ -29,7 +29,7 @@ drupal_permissions: settings_files: - sites/default/settings.php - sites/default/settings.local.php - user: ubuntu + user: www-data drupal_settings: - drupal_root: '{{ release_web_path }}'