Commit 94878602 by Joe Blaylock

Merge pull request #48 from edx/jbau/create_datadir

creates /opt/wwc/data
parents 451f3c31 f8b810d9
......@@ -5,10 +5,17 @@
file: path=$app_base_dir state=directory owner=root group=adm mode=2775
tags:
- pre_install
- name: Create upload directory
file: path=$app_base_dir/uploads mode=2775 state=directory owner=root group=adm
tags:
- pre_install
- name: Create data dir
file: path={{ app_base_dir }}/data state=directory owner=root group=root
tags:
- pre_install
- name: Create log directory
file: path=/mnt/logs state=directory mode=2770 group=adm owner=root
tags:
......
......@@ -18,6 +18,12 @@
- include: ../../nginx/tasks/nginx_site.yml state=link site_name=lms
- include: ../../nginx/tasks/nginx_site.yml state=link site_name=lms-backend
- name: Change permissions on datadir
file: path={{ app_base_dir }}/data state=directory owner=www-data group=www-data
tags:
- cms
- lms
- lms-env
# Install ssh keys for ubuntu account to be able to check out from mitx
# Temprory behavior, not needed after June 1. Perhaps still useful as a recipe.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment