Commit f8b810d9 by Jason Bau Committed by Joe Blaylock

bugfix

parent 6c0a12b5
...@@ -12,8 +12,9 @@ ...@@ -12,8 +12,9 @@
- pre_install - pre_install
- name: Create data dir - name: Create data dir
file: path=$app_base_dir state=directory owner=root group=root file: path={{ app_base_dir }}/data state=directory owner=root group=root
sudo: True tags:
- pre_install
- name: Create log directory - name: Create log directory
file: path=/mnt/logs state=directory mode=2770 group=adm owner=root file: path=/mnt/logs state=directory mode=2770 group=adm owner=root
......
...@@ -18,11 +18,12 @@ ...@@ -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
- include: ../../nginx/tasks/nginx_site.yml state=link site_name=lms-backend - include: ../../nginx/tasks/nginx_site.yml state=link site_name=lms-backend
- name: Change permissions on datadir
- name: Make correct permissions on data dir file: path={{ app_base_dir }}/data state=directory owner=www-data group=www-data
file: path=$app_base_dir state=directory owner=www-data group=www-data tags:
sudo: True - cms
- lms
- lms-env
# Install ssh keys for ubuntu account to be able to check out from mitx # 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. # 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