ci: update deployment steps

This commit is contained in:
Oliver Davies 2021-12-08 21:36:53 +00:00
parent c60e2152e2
commit 73086d4ab3
3 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
---
- hosts: web
become: true
vars_files:
- vars/vars.yml

View file

@ -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 }}"

View file

@ -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 }}'