Another round of permission updates for Travis.

This commit is contained in:
Buster Silver 2017-05-17 18:06:23 -05:00
parent e59284e6a3
commit d85fb336af
1 changed files with 11 additions and 3 deletions

View File

@ -9,13 +9,21 @@
- name: Write current environment to file.
copy: content="{{ app_env }}" dest="{{ www_base }}/app/.env"
- name: Touch .deploy_run file
file: path="{{ app_base }}/.deploy_run" state=touch
- name: Set Permissions on Base App Folder
file: path="{{ item }}" state=directory owner=azuracast group=www-data
with_items:
- "{{ app_base }}"
- name: Touch base-level files
file: path="{{ item }}" state=touch
with_items:
- "{{ app_base }}/.deploy_run"
- "{{ app_base }}/.bash_profile"
- "{{ app_base }}/.ocamlinit"
- name: Create System Folders
file: path="{{ item }}" state=directory owner=azuracast group=www-data mode=0774
with_items:
- "{{ app_base }}"
- "{{ tmp_base }}"
- "{{ tmp_base }}/cache"
- "{{ tmp_base }}/sessions"