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
e95ef117
Commit
e95ef117
authored
Nov 05, 2013
by
e0d
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
General clean-up.
parent
50750f4b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
22 deletions
+2
-22
playbooks/roles/notifier/tasks/deploy.yml
+0
-16
playbooks/roles/notifier/tasks/main.yml
+2
-6
No files found.
playbooks/roles/notifier/tasks/deploy.yml
View file @
e95ef117
...
@@ -21,19 +21,13 @@
...
@@ -21,19 +21,13 @@
notify
:
notify
:
-
notifier | restart notifier
-
notifier | restart notifier
tags
:
tags
:
-
notifier
-
deploy
-
deploy
-
install
-
update
-
name
:
notifier | source repo group perms
-
name
:
notifier | source repo group perms
file
:
file
:
path={{ NOTIFIER_SOURCE_REPO }} mode=2775 state=directory
path={{ NOTIFIER_SOURCE_REPO }} mode=2775 state=directory
tags
:
tags
:
-
notifier
-
deploy
-
deploy
-
install
-
update
-
name
:
notifier | install application requirements
-
name
:
notifier | install application requirements
pip
:
pip
:
...
@@ -45,13 +39,7 @@
...
@@ -45,13 +39,7 @@
-
notifier | restart notifier-scheduler
-
notifier | restart notifier-scheduler
-
notifier | restart notifier-celery-workers
-
notifier | restart notifier-celery-workers
tags
:
tags
:
-
notifier
-
deploy
-
deploy
-
install
-
update
-
name
:
notifier | debug
debug
:
msg="supervisorctl is defined as {{ supervisor_ctl }}"
-
name
:
notifier | syncdb
-
name
:
notifier | syncdb
shell
:
>
shell
:
>
...
@@ -62,7 +50,4 @@
...
@@ -62,7 +50,4 @@
-
notifier | restart notifier-scheduler
-
notifier | restart notifier-scheduler
-
notifier | restart notifier-celery-workers
-
notifier | restart notifier-celery-workers
tags
:
tags
:
-
notifier
-
deploy
-
deploy
\ No newline at end of file
-
install
-
update
playbooks/roles/notifier/tasks/main.yml
View file @
e95ef117
...
@@ -85,21 +85,17 @@
...
@@ -85,21 +85,17 @@
file
:
file
:
path="{{ NOTIFIER_HOME }}/bin" mode=2775 state=directory
path="{{ NOTIFIER_HOME }}/bin" mode=2775 state=directory
-
name
:
common | create supervisor log directoy
file
:
path={{NOTIFIER_SUPERVISOR_LOG_DEST }} mode=2750 state=directory
-
name
:
notifier | supervisord config for celery workers
-
name
:
notifier | supervisord config for celery workers
template
:
>
template
:
>
src=edx/app/supervisor/conf.d/notifier-celery-workers.conf.j2
src=edx/app/supervisor/conf.d/notifier-celery-workers.conf.j2
dest=
/edx/app/supervisor/conf.d/notifier-celery-workers.conf
dest=
"{{ supervisor_cfg_dir }}/notifier-celery-workers.conf"
sudo_user
:
"
{{
supervisor_user
}}"
sudo_user
:
"
{{
supervisor_user
}}"
notify
:
notifier | restart notifier-celery-workers
notify
:
notifier | restart notifier-celery-workers
-
name
:
notifier | supervisord config for scheduler
-
name
:
notifier | supervisord config for scheduler
template
:
>
template
:
>
src=edx/app/supervisor/conf.d/notifier-scheduler.conf.j2
src=edx/app/supervisor/conf.d/notifier-scheduler.conf.j2
dest=
/edx/app/supervisor/conf.d/notifier-scheduler.conf
dest=
"{{ supervisor_cfg_dir }}/notifier-scheduler.conf"
sudo_user
:
"
{{
supervisor_user
}}"
sudo_user
:
"
{{
supervisor_user
}}"
notify
:
notifier | restart notifier-scheduler
notify
:
notifier | restart notifier-scheduler
...
...
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