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
1c015a65
Commit
1c015a65
authored
Oct 28, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating plays in edx-east and edx-west for supervisor role
parent
d60d89ce
Show whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
45 additions
and
12 deletions
+45
-12
playbooks/edx-east/edx_dev2.yml
+2
-0
playbooks/edx-east/edx_feanilsandbox.yml
+5
-0
playbooks/edx-east/edx_mirror.yml
+1
-0
playbooks/edx-east/edx_notifier.yml
+5
-0
playbooks/edx-east/edx_sandbox.yml
+1
-0
playbooks/edx-east/mlapi_prod.yml
+1
-0
playbooks/edx-east/mlapi_sandbox.yml
+1
-0
playbooks/edx-east/mlapi_stage.yml
+1
-0
playbooks/edx-west/carnegie-prod-app.yml
+1
-0
playbooks/edx-west/carnegie-prod-worker.yml
+1
-0
playbooks/edx-west/cme-prod-app.yml
+1
-0
playbooks/edx-west/cme-prod-worker.yml
+1
-0
playbooks/edx-west/edxapp_rolling_example.yml
+1
-0
playbooks/edx-west/prod-app.yml
+1
-0
playbooks/edx-west/prod-jumpbox.yml
+1
-0
playbooks/edx-west/prod-ora.yml
+1
-0
playbooks/edx-west/prod-worker.yml
+1
-0
playbooks/edx-west/prod-xqueue.yml
+1
-0
playbooks/edx-west/stage-all.yml
+1
-0
playbooks/edx-west/stage-app.yml
+1
-0
playbooks/edx-west/stage-debug.yml
+1
-0
playbooks/edx-west/stage-notifier-only.yml
+1
-0
playbooks/edx-west/stage-ora.yml
+1
-0
playbooks/edx-west/stage-rabbit.yml
+1
-0
playbooks/edx-west/stage-worker.yml
+1
-0
playbooks/edx-west/stage-xqueue.yml
+1
-0
playbooks/roles/edxapp/tasks/deploy.yml
+0
-3
playbooks/roles/forum/tasks/deploy.yml
+7
-0
playbooks/roles/forum/tasks/main.yml
+0
-9
playbooks/vagrant-fullstack.yml
+1
-0
playbooks/vagrant-shortstack-xml.yml
+1
-0
playbooks/vagrant-shortstack.yml
+1
-0
No files found.
playbooks/edx-east/edx_dev2.yml
View file @
1c015a65
...
...
@@ -15,6 +15,7 @@
-
"
{{
secure_dir
}}/vars/users.yml"
roles
:
-
common
-
supervisor
-
datadog
-
role
:
nginx
nginx_sites
:
...
...
@@ -34,6 +35,7 @@
-
"
{{
secure_dir
}}/vars/users.yml"
roles
:
-
common
-
supervisor
-
datadog
-
role
:
nginx
nginx_sites
:
...
...
playbooks/edx-east/edx_feanilsandbox.yml
View file @
1c015a65
...
...
@@ -7,6 +7,7 @@
-
"
{{
secure_dir
}}/vars/users.yml"
roles
:
-
common
-
supervisor
-
datadog
-
role
:
nginx
nginx_sites
:
...
...
@@ -25,6 +26,7 @@
-
"
{{
secure_dir
}}/vars/users.yml"
roles
:
-
common
-
supervisor
-
datadog
-
role
:
nginx
nginx_sites
:
...
...
@@ -43,6 +45,7 @@
-
"
{{
secure_dir
}}/vars/users.yml"
roles
:
-
common
-
supervisor
-
role
:
nginx
nginx_sites
:
-
xserver
...
...
@@ -56,6 +59,7 @@
-
"
{{
secure_dir
}}/vars/users.yml"
roles
:
-
common
-
supervisor
-
rabbitmq
-
splunkforwarder
-
hosts
:
tag_aws_cloudformation_stack-name_feanilsandbox:&tag_group_xqueue
...
...
@@ -65,6 +69,7 @@
-
"
{{
secure_dir
}}/vars/users.yml"
roles
:
-
common
-
supervisor
-
role
:
nginx
nginx_sites
:
-
xqueue
...
...
playbooks/edx-east/edx_mirror.yml
View file @
1c015a65
...
...
@@ -5,6 +5,7 @@
gather_facts
:
False
roles
:
-
common
-
supervisor
-
role
:
nginx
nginx_sites
:
-
devpi
...
...
playbooks/edx-east/edx_notifier.yml
View file @
1c015a65
...
...
@@ -7,6 +7,7 @@
gather_facts
:
True
roles
:
-
common
-
supervisor
-
role
:
virtualenv
virtualenv_user
:
"
notifier"
virtualenv_user_home
:
"
/opt/wwc/notifier"
...
...
@@ -22,6 +23,7 @@
gather_facts
:
True
roles
:
-
common
-
supervisor
-
role
:
virtualenv
virtualenv_user
:
"
notifier"
virtualenv_user_home
:
"
/opt/wwc/notifier"
...
...
@@ -37,6 +39,7 @@
gather_facts
:
True
roles
:
-
common
-
supervisor
-
role
:
virtualenv
virtualenv_user
:
"
notifier"
virtualenv_user_home
:
"
/opt/wwc/notifier"
...
...
@@ -52,6 +55,7 @@
gather_facts
:
True
roles
:
-
common
-
supervisor
-
role
:
virtualenv
virtualenv_user
:
"
notifier"
virtualenv_user_home
:
"
/opt/wwc/notifier"
...
...
@@ -68,6 +72,7 @@
vars
:
roles
:
-
common
-
supervisor
-
role
:
virtualenv
virtualenv_user
:
"
notifier"
virtualenv_user_home
:
"
/opt/wwc/notifier"
...
...
playbooks/edx-east/edx_sandbox.yml
View file @
1c015a65
...
...
@@ -13,6 +13,7 @@
mysql5_workaround
:
True
roles
:
-
common
-
supervisor
-
role
:
nginx
nginx_sites
:
-
lms
...
...
playbooks/edx-east/mlapi_prod.yml
View file @
1c015a65
...
...
@@ -6,6 +6,7 @@
-
"
{{
secure_dir
}}/vars/mlapi_prod_users.yml"
roles
:
-
common
-
supervisor
-
discern
sudo
:
True
-
hosts
:
...
...
playbooks/edx-east/mlapi_sandbox.yml
View file @
1c015a65
...
...
@@ -6,6 +6,7 @@
-
"
{{
secure_dir
}}/vars/mlapi_sandbox_users.yml"
roles
:
-
common
-
supervisor
-
discern
sudo
:
True
-
hosts
:
...
...
playbooks/edx-east/mlapi_stage.yml
View file @
1c015a65
...
...
@@ -6,6 +6,7 @@
-
"
{{
secure_dir
}}/vars/mlapi_stage_users.yml"
roles
:
-
common
-
supervisor
-
discern
sudo
:
True
-
hosts
:
...
...
playbooks/edx-west/carnegie-prod-app.yml
View file @
1c015a65
...
...
@@ -19,6 +19,7 @@
-
"
{{
secure_dir
}}/vars/edxapp_prod_users.yml"
roles
:
-
common
-
supervisor
-
{
'
role'
:
'
nginx'
,
'
nginx_conf'
:
true
}
-
{
'
role'
:
'
edxapp'
,
'
openid_workaround'
:
true
,
'
template_subdir'
:
'
carnegie'
}
# run this role last
...
...
playbooks/edx-west/carnegie-prod-worker.yml
View file @
1c015a65
...
...
@@ -15,4 +15,5 @@
-
"
{{
secure_dir
}}/vars/edxapp_prod_users.yml"
roles
:
-
common
-
supervisor
-
{
role
:
'
edxapp'
,
celery_worker
:
True
}
playbooks/edx-west/cme-prod-app.yml
View file @
1c015a65
...
...
@@ -32,6 +32,7 @@
-
"
{{
secure_dir
}}/vars/edxapp_prod_users.yml"
roles
:
-
common
-
supervisor
-
role
:
nginx
nginx_conf
:
true
nginx_sites
:
...
...
playbooks/edx-west/cme-prod-worker.yml
View file @
1c015a65
...
...
@@ -15,4 +15,5 @@
-
"
{{
secure_dir
}}/vars/edxapp_prod_users.yml"
roles
:
-
common
-
supervisor
-
{
role
:
'
edxapp'
,
celery_worker
:
True
}
playbooks/edx-west/edxapp_rolling_example.yml
View file @
1c015a65
...
...
@@ -15,6 +15,7 @@
state
:
'
absent'
roles
:
-
common
-
supervisor
-
role
:
nginx
nginx_sites
:
-
lms
...
...
playbooks/edx-west/prod-app.yml
View file @
1c015a65
...
...
@@ -26,6 +26,7 @@
-
"
{{
secure_dir
}}/vars/shib_prod_vars.yml"
roles
:
-
common
-
supervisor
-
role
:
nginx
nginx_sites
:
-
lms
...
...
playbooks/edx-west/prod-jumpbox.yml
View file @
1c015a65
...
...
@@ -7,3 +7,4 @@
local_dir
:
'
../../../configuration-secure/ansible/local'
roles
:
-
common
-
supervisor
playbooks/edx-west/prod-ora.yml
View file @
1c015a65
...
...
@@ -18,6 +18,7 @@
-
"
{{
secure_dir
}}/vars/edxapp_prod_users.yml"
roles
:
-
common
-
supervisor
-
role
:
nginx
nginx_sites
:
-
ora
...
...
playbooks/edx-west/prod-worker.yml
View file @
1c015a65
...
...
@@ -16,6 +16,7 @@
-
"
{{
secure_dir
}}/vars/shib_prod_vars.yml"
roles
:
-
common
-
supervisor
-
{
role
:
'
edxapp'
,
celery_worker
:
True
}
#
...
...
playbooks/edx-west/prod-xqueue.yml
View file @
1c015a65
...
...
@@ -15,6 +15,7 @@
-
"
{{
secure_dir
}}/vars/edxapp_prod_users.yml"
roles
:
-
common
-
supervisor
-
role
:
nginx
nginx_sites
:
-
xqueue
...
...
playbooks/edx-west/stage-all.yml
View file @
1c015a65
...
...
@@ -12,4 +12,5 @@
-
"
{{
secure_dir
}}/vars/edxapp_stage_users.yml"
roles
:
-
common
-
supervisor
playbooks/edx-west/stage-app.yml
View file @
1c015a65
...
...
@@ -17,6 +17,7 @@
-
"
{{
secure_dir
}}/vars/shib_stage_vars.yml"
roles
:
-
common
-
supervisor
-
role
:
nginx
nginx_sites
:
-
lms
...
...
playbooks/edx-west/stage-debug.yml
View file @
1c015a65
...
...
@@ -12,6 +12,7 @@
#- "{{ secure_dir }}/vars/shib_stage_vars.yml"
roles
:
-
common
-
supervisor
-
role
:
nginx
nginx_sites
:
-
lms
...
...
playbooks/edx-west/stage-notifier-only.yml
View file @
1c015a65
...
...
@@ -8,6 +8,7 @@
-
"
{{
secure_dir
}}/vars/edxapp_stage_vars.yml"
-
"
{{
secure_dir
}}/vars/notifier_stage_vars.yml"
roles
:
-
supervisor
-
role
:
virtualenv
virtualenv_user
:
"
notifier"
virtualenv_user_home
:
"
/opt/wwc/notifier"
...
...
playbooks/edx-west/stage-ora.yml
View file @
1c015a65
...
...
@@ -10,6 +10,7 @@
-
"
{{
secure_dir
}}/vars/edxapp_stage_users.yml"
roles
:
-
common
-
supervisor
-
role
:
nginx
nginx_sites
:
-
ora
...
...
playbooks/edx-west/stage-rabbit.yml
View file @
1c015a65
...
...
@@ -10,6 +10,7 @@
-
"
{{
secure_dir
}}/vars/edxapp_stage_users.yml"
roles
:
-
common
-
supervisor
-
rabbitmq
#- hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_edxapp
...
...
playbooks/edx-west/stage-worker.yml
View file @
1c015a65
...
...
@@ -15,6 +15,7 @@
-
"
{{
secure_dir
}}/vars/edxapp_stage_users.yml"
roles
:
-
common
-
supervisor
-
{
role
:
'
edxapp'
,
celery_worker
:
True
}
# run the notifier on the first util machine only
...
...
playbooks/edx-west/stage-xqueue.yml
View file @
1c015a65
...
...
@@ -10,6 +10,7 @@
-
"
{{
secure_dir
}}/vars/edxapp_stage_users.yml"
roles
:
-
common
-
supervisor
-
role
:
nginx
nginx_sites
:
-
xqueue
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
1c015a65
...
...
@@ -4,7 +4,6 @@
# TODO: the supervisor ansible module does not support
# stopping and starting services by group.
# Ignoring errors for initial install use-case
-
name
:
edxapp | stop the edxapp services (supervisor)
supervisorctl
:
>
...
...
@@ -14,7 +13,6 @@
state=stopped
when
:
celery_worker is not defined
with_items
:
service_variants_enabled
ignore_errors
:
true
tags
:
-
deploy
...
...
@@ -26,7 +24,6 @@
state=stopped
when
:
celery_worker is defined
with_items
:
edxapp_workers
ignore_errors
:
true
tags
:
-
deploy
...
...
playbooks/roles/forum/tasks/deploy.yml
View file @
1c015a65
...
...
@@ -34,6 +34,13 @@
tags
:
-
deploy
-
name
:
forum | create the supervisor config
template
:
>
src=forum.conf.j2 dest={{ supervisor_cfg_dir }}/forum.conf
owner={{ common_web_user }} group={{ supervisor_user }}
mode=0644
register
:
forum_supervisor
-
name
:
forum | restart the forum service
supervisorctl
:
>
name=forum
...
...
playbooks/roles/forum/tasks/main.yml
View file @
1c015a65
...
...
@@ -48,14 +48,5 @@
register
:
forum_supervisor
-
include
:
deploy.yml
# Reload supervisor right away when the configuration
# changes, this happens after deploy.yml tasks so
# that the application is installed
-
name
:
forum | reload supervisor
shell
:
"
{{
supervisor_ctl
}}
-c
{{
supervisor_cfg
}}
reload"
when
:
forum_supervisor.changed
-
include
:
test.yml
playbooks/vagrant-fullstack.yml
View file @
1c015a65
...
...
@@ -17,6 +17,7 @@
-
xserver
-
xqueue
-
edxlocal
-
supervisor
-
mongo
-
edxapp
-
{
role
:
'
rabbitmq'
,
rabbitmq_ip
:
'
127.0.0.1'
}
...
...
playbooks/vagrant-shortstack-xml.yml
View file @
1c015a65
...
...
@@ -15,5 +15,6 @@
-
cms
-
lms-preview
-
edxlocal
-
supervisor
-
mongo
-
{
role
:
'
edxapp'
,
EDXAPP_LMS_NGINX_PORT
:
18030
,
EDXAPP_LMS_XML_NGINX_PORT
:
80
}
playbooks/vagrant-shortstack.yml
View file @
1c015a65
...
...
@@ -15,6 +15,7 @@
-
cms
-
lms-preview
-
edxlocal
-
supervisor
-
mongo
-
edxapp
-
oraclejdk
...
...
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