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
c60d77ac
Commit
c60d77ac
authored
May 16, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swap $ for {{
parent
892bdd5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
playbooks/roles/discern/tasks/main.yml
+4
-4
No files found.
playbooks/roles/discern/tasks/main.yml
View file @
c60d77ac
...
...
@@ -14,10 +14,10 @@
#Upload config files for django (auth and env)
-
name
:
create discern application config env.json file
template
:
src=env.json.j2 dest=
$app_base_dir
/env.json owner={{remote_user}} group=edx mode=0640
template
:
src=env.json.j2 dest=
{{app_base_dir}}
/env.json owner={{remote_user}} group=edx mode=0640
-
name
:
create discern auth file auth.json
template
:
src=auth.json.j2 dest=
$app_base_dir
/auth.json owner={{remote_user}} group=edx mode=0640
template
:
src=auth.json.j2 dest=
{{app_base_dir}}
/auth.json owner={{remote_user}} group=edx mode=0640
#Needed if using redis to prevent memory issues
-
name
:
change memory commit settings -- needed for redis
...
...
@@ -27,8 +27,8 @@
-
name
:
add github to the known hosts file
shell
:
ssh-keyscan -H github.com > ~/.ssh/known_hosts
-
name
:
set permissions on
$
app_base_dir sgid for edx
file
:
path=
$app_base_dir
owner={{remote_user}} group=edx mode=2775 state=directory
-
name
:
set permissions on app_base_dir sgid for edx
file
:
path=
{{app_base_dir}}
owner={{remote_user}} group=edx mode=2775 state=directory
file
:
path={{venv_dir}} owner={{remote_user}} group=edx mode=2775 state=directory
-
name
:
Install git so that we can clone repos
...
...
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