Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
959dcc2e
Commit
959dcc2e
authored
Mar 31, 2016
by
Edward Zarecor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
var updates
parent
66a1024f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
playbooks/roles/harstorage/defaults/main.yml
+1
-1
playbooks/roles/harstorage/tasks/main.yml
+4
-4
playbooks/roles/harstorage/templates/edx/etc/harstorage/production.ini.j2
+1
-1
No files found.
playbooks/roles/harstorage/defaults/main.yml
View file @
959dcc2e
...
...
@@ -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
:
...
...
playbooks/roles/harstorage/tasks/main.yml
View file @
959dcc2e
...
...
@@ -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
:
...
...
playbooks/roles/harstorage/templates/edx/etc/harstorage/production.ini.j2
View file @
959dcc2e
...
...
@@ -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 }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment