Attempt to force permissions for settings folders
This commit is contained in:
parent
4dbae204fe
commit
31e0d11415
1 changed files with 6 additions and 0 deletions
|
@ -9,14 +9,20 @@
|
||||||
path: "{{ drupal_core_path }}/sites/default"
|
path: "{{ drupal_core_path }}/sites/default"
|
||||||
mode: 0775
|
mode: 0775
|
||||||
state: directory
|
state: directory
|
||||||
|
owner: vagrant
|
||||||
|
group: vagrant
|
||||||
when: stat_result.stat.exists == true and stat_result.stat.writeable == false
|
when: stat_result.stat.exists == true and stat_result.stat.writeable == false
|
||||||
|
become: yes
|
||||||
|
|
||||||
- name: ensure settings file is still writable
|
- name: ensure settings file is still writable
|
||||||
file:
|
file:
|
||||||
path: "{{ drupal_core_path }}/sites/default/settings.php"
|
path: "{{ drupal_core_path }}/sites/default/settings.php"
|
||||||
mode: 0664
|
mode: 0664
|
||||||
state: file
|
state: file
|
||||||
|
owner: vagrant
|
||||||
|
group: vagrant
|
||||||
when: stat_result.stat.exists == true and stat_result.stat.writeable == false
|
when: stat_result.stat.exists == true and stat_result.stat.writeable == false
|
||||||
|
become: yes
|
||||||
|
|
||||||
- name: Run composer install.
|
- name: Run composer install.
|
||||||
command: "composer install"
|
command: "composer install"
|
||||||
|
|
Loading…
Reference in a new issue