ansible/apps/webservice/tasks/after-setup.yml

7 lines
324 B
YAML
Raw Normal View History

2016-02-11 11:29:25 +01:00
- name: Authorize deploy user to write in "ansistrano_deploy_to"
become: yes
2016-02-18 10:58:42 +01:00
file: path="{{ ansistrano_deploy_to }}" state=directory recurse=yes mode="u=rwx,g=rwx,o=rx" owner=www-data group=www-data
2016-02-11 15:41:27 +01:00
- name: Delete .shared-copy
become: yes
file: path="{{ ansistrano_shared_path.stdout }}/.shared-copy" state=absent