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
1428f8ff
Commit
1428f8ff
authored
Dec 12, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1745 from edx/jarv/xserver-null-values
changing null defaults to empty strings to deal with ansible bug
parents
766fdd20
75ba5144
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
playbooks/edx-east/edx_continuous_integration.yml
+2
-1
playbooks/roles/xserver/defaults/main.yml
+3
-3
playbooks/roles/xserver/tasks/main.yml
+6
-3
No files found.
playbooks/edx-east/edx_continuous_integration.yml
View file @
1428f8ff
...
@@ -29,7 +29,8 @@
...
@@ -29,7 +29,8 @@
-
elasticsearch
-
elasticsearch
-
forum
-
forum
-
{
role
:
"
xqueue"
,
update_users
:
True
}
-
{
role
:
"
xqueue"
,
update_users
:
True
}
-
xserver
-
role
:
xserver
when
:
XSERVER_GIT_IDENTITY|length > 0
-
certs
-
certs
-
edx_ansible
-
edx_ansible
-
analytics-api
-
analytics-api
...
...
playbooks/roles/xserver/defaults/main.yml
View file @
1428f8ff
...
@@ -9,11 +9,11 @@ XSERVER_RUN_URL: ''
...
@@ -9,11 +9,11 @@ XSERVER_RUN_URL: ''
XSERVER_LOGGING_ENV
:
'
sandbox'
XSERVER_LOGGING_ENV
:
'
sandbox'
XSERVER_SYSLOG_SERVER
:
'
'
XSERVER_SYSLOG_SERVER
:
'
'
# For 6.00x use "{{ xserver_data_dir }}/data/content-mit-600x~2012_Fall"
# For 6.00x use "{{ xserver_data_dir }}/data/content-mit-600x~2012_Fall"
XSERVER_GRADER_DIR
:
!!null
XSERVER_GRADER_DIR
:
"
"
# For 6.00x use "git@github.com:/MITx/6.00x.git"
# For 6.00x use "git@github.com:/MITx/6.00x.git"
XSERVER_GRADER_SOURCE
:
!!null
XSERVER_GRADER_SOURCE
:
"
"
# This must be set to run this role
# This must be set to run this role
XSERVER_GIT_IDENTITY
:
!!null
XSERVER_GIT_IDENTITY
:
"
"
XSERVER_LANG
:
"
en_US.UTF-8"
XSERVER_LANG
:
"
en_US.UTF-8"
...
...
playbooks/roles/xserver/tasks/main.yml
View file @
1428f8ff
...
@@ -4,12 +4,15 @@
...
@@ -4,12 +4,15 @@
---
---
-
name
:
checking for grader info
-
name
:
checking for grader info
fail
:
msg="You must define XSERVER_GRADER_DIR and XSERVER_GRADER_SOURCE to use this role!"
fail
:
msg="You must define XSERVER_GRADER_DIR"
when
:
not XSERVER_GRADER_DIR or not XSERVER_GRADER_SOURCE
when
:
XSERVER_GRADER_DIR|length == 0
-
fail
:
msg="You must define XSERVER_GRADER_SOURCE"
when
:
XSERVER_GRADER_SOURCE|length == 0
-
name
:
checking for git identity
-
name
:
checking for git identity
fail
:
msg="You must define XSERVER_GIT_IDENTITY to use this role"
fail
:
msg="You must define XSERVER_GIT_IDENTITY to use this role"
when
:
not XSERVER_GIT_IDENTITY
when
:
XSERVER_GIT_IDENTITY|length == 0
-
name
:
create application user
-
name
:
create application user
user
:
>
user
:
>
...
...
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