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
75ba5144
Commit
75ba5144
authored
Dec 11, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changing null defaults to empty strings to deal with ansible bug
parent
766fdd20
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 @
75ba5144
...
...
@@ -29,7 +29,8 @@
-
elasticsearch
-
forum
-
{
role
:
"
xqueue"
,
update_users
:
True
}
-
xserver
-
role
:
xserver
when
:
XSERVER_GIT_IDENTITY|length > 0
-
certs
-
edx_ansible
-
analytics-api
...
...
playbooks/roles/xserver/defaults/main.yml
View file @
75ba5144
...
...
@@ -9,11 +9,11 @@ XSERVER_RUN_URL: ''
XSERVER_LOGGING_ENV
:
'
sandbox'
XSERVER_SYSLOG_SERVER
:
'
'
# 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"
XSERVER_GRADER_SOURCE
:
!!null
XSERVER_GRADER_SOURCE
:
"
"
# This must be set to run this role
XSERVER_GIT_IDENTITY
:
!!null
XSERVER_GIT_IDENTITY
:
"
"
XSERVER_LANG
:
"
en_US.UTF-8"
...
...
playbooks/roles/xserver/tasks/main.yml
View file @
75ba5144
...
...
@@ -4,12 +4,15 @@
---
-
name
:
checking for grader info
fail
:
msg="You must define XSERVER_GRADER_DIR and XSERVER_GRADER_SOURCE to use this role!"
when
:
not XSERVER_GRADER_DIR or not XSERVER_GRADER_SOURCE
fail
:
msg="You must define XSERVER_GRADER_DIR"
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
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
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