Commit dec835e3 by Jason Bau Committed by Joe Blaylock

creates /opt/wwc/data

parent 451f3c31
- hosts: tag_Group_edxapp_prod
- hosts: security_group_edx-prod-EdxappServerSecurityGroup-NSKCQTMZIPQB
sudo: True
vars_files:
- "{{ secure_dir }}/vars/edxapp_prod_vars.yml"
......
......@@ -5,10 +5,16 @@
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 state=directory owner=root group=root
sudo: True
- name: Create log directory
file: path=/mnt/logs state=directory mode=2770 group=adm owner=root
tags:
......
......@@ -18,6 +18,11 @@
- 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
# 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