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 - hosts: web
become: true
vars_files: vars_files:
- vars/vars.yml - vars/vars.yml

View file

@ -1,7 +1,7 @@
--- ---
- name: Set the permissions for each Drupal root directory. - name: Set the permissions for each Drupal root directory.
file: file:
group: www-data group: ubuntu
mode: ug=rX,o= mode: ug=rX,o=
owner: "{{ drupal_permissions.user }}" owner: "{{ drupal_permissions.user }}"
path: "{{ item.root }}" path: "{{ item.root }}"

View file

@ -29,7 +29,7 @@ drupal_permissions:
settings_files: settings_files:
- sites/default/settings.php - sites/default/settings.php
- sites/default/settings.local.php - sites/default/settings.local.php
user: ubuntu user: www-data
drupal_settings: drupal_settings:
- drupal_root: '{{ release_web_path }}' - drupal_root: '{{ release_web_path }}'