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
bbc294fa
Commit
bbc294fa
authored
9 years ago
by
Sven Marnach
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work around a supervisord bug causing the provisioning to hang intermittently.
parent
adae6cf3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
playbooks/roles/edxapp/tasks/deploy.yml
+4
-8
No files found.
playbooks/roles/edxapp/tasks/deploy.yml
View file @
bbc294fa
...
...
@@ -378,21 +378,19 @@
state=started
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
name="edxapp:
{{ item }}
"
name="edxapp:"
sudo_user
:
"
{{
supervisor_service_user
}}"
when
:
celery_worker is not defined and not disable_edx_services
with_items
:
service_variants_enabled
tags
:
-
manage
-
name
:
ensure edxapp_workers has started
supervisorctl
:
>
name="edxapp_worker:
{{ item.service_variant }}_{{ item.queue }}_{{ item.concurrency }}
"
name="edxapp_worker:"
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
state=started
when
:
celery_worker is defined and not disable_edx_services
with_items
:
edxapp_workers
sudo_user
:
"
{{
supervisor_service_user
}}"
tags
:
-
manage
...
...
@@ -442,21 +440,19 @@
state=restarted
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
name="edxapp:
{{ item }}
"
name="edxapp:"
when
:
edxapp_installed is defined and celery_worker is not defined and not disable_edx_services
sudo_user
:
"
{{
supervisor_service_user
}}"
with_items
:
service_variants_enabled
tags
:
-
manage
-
name
:
restart edxapp_workers
supervisorctl
:
>
name="edxapp_worker:
{{ item.service_variant }}_{{ item.queue }}_{{ item.concurrency }}
"
name="edxapp_worker:"
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
state=restarted
when
:
edxapp_installed is defined and celery_worker is defined and not disable_edx_services
with_items
:
edxapp_workers
sudo_user
:
"
{{
common_web_user
}}"
tags
:
-
manage
This diff is collapsed.
Click to expand it.
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