Add Ansible playbook for deployments
This commit is contained in:
parent
4299ca3ae7
commit
f2e458ca13
14 changed files with 293 additions and 12 deletions
10
tools/ansible/deploy/after-symlink-shared.yml
Normal file
10
tools/ansible/deploy/after-symlink-shared.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
- name: Setup directory permissions for files directories
|
||||
become: true
|
||||
file:
|
||||
path: '{{ ansistrano_shared_path }}/{{ project_web_dir }}/sites/default/files'
|
||||
state: directory
|
||||
owner: www-data
|
||||
group: root
|
||||
mode: u=rwx,g=rw,o=
|
||||
recurse: true
|
Loading…
Add table
Add a link
Reference in a new issue