ansible/apps/backoffice/tasks/after-setup.yml
2017-02-20 09:39:42 +01:00

7 lines
313 B
YAML

- name: Authorize deploy user to write in "ansistrano_deploy_to"
become: yes
file: path="{{ansistrano_deploy_to}}" state=directory recurse=yes mode="u=rwx,g=rwx,o=rx" owner=www-data group=www-data
- name: Delete .shared-copy
become: yes
file: path="{{ansistrano_shared_path}}/.shared-copy" state=absent