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
edx
configuration
Commits
ea96ee50
Commit
ea96ee50
authored
Feb 19, 2015
by
Max Rothman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xqwatcher fixes
parent
9205dcae
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
playbooks/roles/xqwatcher/defaults/main.yml
+4
-1
playbooks/roles/xqwatcher/tasks/deploy_courses.yml
+1
-1
playbooks/roles/xqwatcher/tasks/deploy_watcher.yml
+4
-4
No files found.
playbooks/roles/xqwatcher/defaults/main.yml
View file @
ea96ee50
...
...
@@ -77,9 +77,12 @@ xqwatcher_app_dir: "{{ COMMON_APP_DIR }}/{{ xqwatcher_service_name }}"
xqwatcher_app_data
:
"
{{
xqwatcher_app_dir
}}/data"
xqwatcher_code_dir
:
"
{{
xqwatcher_app_dir
}}/src"
#change this to /edx/etc after pulling xqwatcher.json out
#
TODO:
change this to /edx/etc after pulling xqwatcher.json out
xqwatcher_conf_dir
:
"
{{
xqwatcher_app_dir
}}"
#TODO: remove after refactoring out all the git stuff
xqwatcher_course_git_ssh_opts
:
"
-o
UserKnownHostsFile=/dev/null
-o
StrictHostKeyChecking=no
-i
{{
XQWATCHER_GIT_IDENTITY
}}"
xqwatcher_requirements_file
:
"
{{
xqwatcher_code_dir
}}/requirements.txt"
xqwatcher_log_dir
:
"
{{
COMMON_LOG_DIR
}}/{{
xqwatcher_service_name
}}"
xqwatcher_module
:
"
xqueue_watcher"
...
...
playbooks/roles/xqwatcher/tasks/deploy_courses.yml
View file @
ea96ee50
...
...
@@ -6,5 +6,5 @@
git
:
>
dest={{ xqwatcher_app_dir }}/data/{{ item.COURSE }} repo={{ item.GIT_REPO }}
version={{ item.GIT_REF }}
ssh_opts="{{ xqwatcher_git_ssh_opts }}"
ssh_opts="{{ xqwatcher_
course_
git_ssh_opts }}"
with_items
:
XQWATCHER_COURSES
playbooks/roles/xqwatcher/tasks/deploy_watcher.yml
View file @
ea96ee50
...
...
@@ -37,8 +37,8 @@
-
name
:
restart xqwatcher
supervisorctl_local
:
>
state=restarted
supervisorctl_path={{ supervisor_ctl }}
config={{
supervisor_cfg }}
supervisorctl_path={{
xqwatcher_
supervisor_ctl }}
config={{
xqwatcher_supervisor_app_dir }}/supervisord.conf
name={{ xqwatcher_service_name }}
when
:
not disable_edx_services
sudo_user
:
"
{{
supervisor_service_user
}}"
\ No newline at end of file
sudo_user
:
"
{{
xqwatcher_user
}}"
\ No newline at end of file
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