ci: update deployment steps
This commit is contained in:
parent
c60e2152e2
commit
73086d4ab3
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
- hosts: web
|
- hosts: web
|
||||||
|
become: true
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/vars.yml
|
- vars/vars.yml
|
||||||
|
|
|
@ -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 }}"
|
||||||
|
|
|
@ -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 }}'
|
||||||
|
|
Loading…
Reference in a new issue