Commit f8b810d9 by Jason Bau Committed by Joe Blaylock

bugfix

parent 6c0a12b5
......@@ -12,8 +12,9 @@
- pre_install
- name: Create data dir
file: path=$app_base_dir state=directory owner=root group=root
sudo: True
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
......
......@@ -18,11 +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: Make correct permissions on data dir
file: path=$app_base_dir state=directory owner=www-data group=www-data
sudo: True
- 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