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
c59e6e72
Commit
c59e6e72
authored
Nov 13, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renaming {edxapp,forum}_skip_supervisor to devstack
parent
2b30cc97
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
18 deletions
+17
-18
playbooks/roles/edxapp/defaults/main.yml
+1
-1
playbooks/roles/edxapp/handlers/main.yml
+2
-2
playbooks/roles/edxapp/tasks/deploy.yml
+3
-3
playbooks/roles/edxapp/tasks/service_variant_config.yml
+3
-3
playbooks/roles/forum/defaults/main.yml
+1
-1
playbooks/roles/forum/handlers/main.yml
+1
-1
playbooks/roles/forum/tasks/deploy.yml
+4
-4
playbooks/roles/forum/tasks/test.yml
+1
-1
playbooks/vagrant-devstack.yml
+1
-2
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
c59e6e72
...
...
@@ -459,4 +459,4 @@ worker_django_settings_module: 'aws'
# Skip supervisor tasks
# Useful when supervisor is not installed (local dev)
edxapp_skip_supervisor
:
False
devstack
:
False
playbooks/roles/edxapp/handlers/main.yml
View file @
c59e6e72
...
...
@@ -5,7 +5,7 @@
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
name="edxapp:{{ item }}"
when
:
not
edxapp_skip_supervisor
when
:
not
devstack
sudo_user
:
"
{{
supervisor_service_user
}}"
with_items
:
service_variants_enabled
tags
:
deploy
...
...
@@ -16,7 +16,7 @@
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
state=restarted
when
:
celery_worker is defined and not
edxapp_skip_supervisor
when
:
celery_worker is defined and not
devstack
with_items
:
edxapp_workers
sudo_user
:
"
{{
common_web_user
}}"
tags
:
deploy
playbooks/roles/edxapp/tasks/deploy.yml
View file @
c59e6e72
...
...
@@ -227,7 +227,7 @@
register
:
supervisor_update
sudo_user
:
"
{{
supervisor_service_user
}}"
changed_when
:
supervisor_update.stdout != ""
when
:
not
edxapp_skip_supervisor
when
:
not
devstack
tags
:
deploy
-
name
:
edxapp | ensure edxapp has started
...
...
@@ -237,7 +237,7 @@
config={{ supervisor_cfg }}
name="edxapp:{{ item }}"
sudo_user
:
"
{{
supervisor_service_user
}}"
when
:
not
edxapp_skip_supervisor
when
:
not
devstack
with_items
:
service_variants_enabled
tags
:
deploy
...
...
@@ -247,7 +247,7 @@
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
state=started
when
:
celery_worker is defined and not
edxapp_skip_supervisor
when
:
celery_worker is defined and not
devstack
with_items
:
edxapp_workers
sudo_user
:
"
{{
supervisor_service_user
}}"
tags
:
deploy
playbooks/roles/edxapp/tasks/service_variant_config.yml
View file @
c59e6e72
...
...
@@ -29,7 +29,7 @@
src={{ item }}.conf.j2 dest={{ supervisor_cfg_dir }}/{{ item }}.conf
owner={{ supervisor_user }}
with_items
:
service_variants_enabled
when
:
celery_worker is not defined and not
edxapp_skip_supervisor
when
:
celery_worker is not defined and not
devstack
sudo_user
:
"
{{
supervisor_user
}}"
tags
:
-
deploy
...
...
@@ -38,7 +38,7 @@
template
:
>
src=edxapp.conf.j2 dest={{ supervisor_cfg_dir }}/edxapp.conf
owner={{ supervisor_user }}
when
:
celery_worker is not defined and not
edxapp_skip_supervisor
when
:
celery_worker is not defined and not
devstack
sudo_user
:
"
{{
supervisor_user
}}"
tags
:
-
deploy
...
...
@@ -49,7 +49,7 @@
template
:
>
src=workers.conf.j2 dest={{ supervisor_cfg_dir }}/workers.conf
owner={{ supervisor_user }}
when
:
celery_worker is defined and not
edxapp_skip_supervisor
when
:
celery_worker is defined and not
devstack
sudo_user
:
"
{{
supervisor_user
}}"
tags
:
-
deploy
...
...
playbooks/roles/forum/defaults/main.yml
View file @
c59e6e72
...
...
@@ -60,4 +60,4 @@ forum_services:
# Skip supervisor tasks
# Used in local dev where supervisor isn't installed
forum_skip_supervisor
:
False
devstack
:
False
playbooks/roles/forum/handlers/main.yml
View file @
c59e6e72
...
...
@@ -5,5 +5,5 @@
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
state=restarted
when
:
not
forum_skip_supervisor
when
:
not
devstack
tags
:
deploy
playbooks/roles/forum/tasks/deploy.yml
View file @
c59e6e72
...
...
@@ -6,7 +6,7 @@
owner={{ supervisor_user }}
mode=0644
sudo_user
:
"
{{
supervisor_user
}}"
when
:
not
forum_skip_supervisor
when
:
not
devstack
register
:
forum_supervisor
tags
:
deploy
...
...
@@ -16,7 +16,7 @@
dest={{ forum_supervisor_wrapper }}
mode=0755
sudo_user
:
"
{{
forum_user
}}"
when
:
not
forum_skip_supervisor
when
:
not
devstack
notify
:
forum | restart the forum service
tags
:
deploy
...
...
@@ -45,7 +45,7 @@
shell
:
"
{{
supervisor_ctl
}}
-c
{{
supervisor_cfg
}}
update"
register
:
supervisor_update
changed_when
:
supervisor_update.stdout != ""
when
:
not
forum_skip_supervisor
when
:
not
devstack
tags
:
deploy
-
name
:
forum | ensure forum is started
...
...
@@ -54,5 +54,5 @@
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
state=started
when
:
not
forum_skip_supervisor
when
:
not
devstack
tags
:
deploy
playbooks/roles/forum/tasks/test.yml
View file @
c59e6e72
...
...
@@ -3,7 +3,7 @@
-
name
:
forum | test that the required service are listening
wait_for
:
port={{ item.port }} host={{ item.host }} timeout=30
with_items
:
"
{{
forum_services
}}"
when
:
not
forum_skip_supervisor
when
:
not
devstack
tags
:
-
forum
-
test
playbooks/vagrant-devstack.yml
View file @
c59e6e72
...
...
@@ -5,8 +5,7 @@
vars
:
migrate_db
:
"
yes"
openid_workaround
:
True
edxapp_skip_supervisor
:
True
forum_skip_supervisor
:
True
devstack
:
True
edx_platform_commit
:
'
master'
vars_files
:
-
"
group_vars/all"
...
...
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