Commit 959dcc2e by Edward Zarecor

var updates

parent 66a1024f
......@@ -20,7 +20,7 @@ harstorage_user: '{{ harstorage_role_name }}'
harstorage_home: '{{ COMMON_APP_DIR }}/{{ harstorage_role_name }}'
harstorage_code_dir: '{{ harstorage_home }}/{{ harstorage_role_name }}'
harstorage_venv_dir: '{{ harstorage_home }}/venvs/{{ harstorage_role_name }}'
harstorage_etc: 'edx/etc/harstorage'
harstorage_etc: '/edx/etc/harstorage'
# Source Code
HARSTORAGE_REPOS:
......
......@@ -60,7 +60,7 @@
- name: create harstorage config directory
file:
path: "{{ harstorage_venv_dir }}/{{ harstorage_etc }}"
path: "{{ harstorage_etc }}"
state: directory
mode: 0755
tags:
......@@ -69,8 +69,8 @@
- name: setup the harstorage production.ini file
template:
src: './{{ harstorage_etc }}/production.ini.j2'
dest: '{{ harstorage_venv_dir }}/{{ harstorage_etc }}/production.ini'
src: '.{{ harstorage_etc }}/production.ini.j2'
dest: '{{ harstorage_etc }}/production.ini'
owner: '{{ harstorage_user }}'
group: '{{ harstorage_user }}'
mode: 0644
......@@ -97,7 +97,7 @@
- install:code
- name: apply config
command: "{{ harstorage_venv_dir }}/bin/paster setup-app {{ harstorage_venv_dir }}/{{ harstorage_etc }}/production.ini"
command: "{{ harstorage_venv_dir }}/bin/paster setup-app {{ harstorage_etc }}/production.ini"
args:
chdir: "{{ harstorage_code_dir }}"
tags:
......
......@@ -15,7 +15,7 @@ port = {{ harstorage_port }}
use = egg:harstorage
full_stack = true
static_files = true
temp_store = %(here)s/data
temp_store = {{ COMMON_DATA_DIR }}/{{ harstorage_user }}
bin_store = %(here)s
ps_enabled = true
static_version = {{ harstorage_version }}
......
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