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
6de028d8
Commit
6de028d8
authored
Aug 15, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1417 from edx/feanil/no_waiting_for_services
Optionally add arguments to service calls.
parents
b9feb57a
9b954456
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
10 deletions
+15
-10
playbooks/roles/stop_all_edx_services/defaults/main.yml
+5
-0
playbooks/roles/stop_all_edx_services/handlers/main.yml
+10
-10
No files found.
playbooks/roles/stop_all_edx_services/defaults/main.yml
View file @
6de028d8
...
...
@@ -15,3 +15,8 @@
# vars are namespace with the module name.
#
stop_all_edx_services_role_name
:
stop_all_edx_services
# set this to "--no-wait" if you want to not wait for all
# superviser jobs to finish. Useful when used in conjunction
# with minos.
STOP_ALL_EDX_SERVICES_EXTRA_ARGS
:
"
"
playbooks/roles/stop_all_edx_services/handlers/main.yml
View file @
6de028d8
...
...
@@ -19,34 +19,34 @@
#
#
-
name
:
stop supervisor
service
:
name=supervisor state=stopped
service
:
name=supervisor state=stopped
arguments="{{ STOP_ALL_EDX_SERVICES_EXTRA_ARGS }}"
-
name
:
stop supervisor.devpi
service
:
name=supervisor.devpi state=stopped
service
:
name=supervisor.devpi state=stopped
arguments="{{ STOP_ALL_EDX_SERVICES_EXTRA_ARGS }}"
-
name
:
stop nginx
service
:
name=nginx state=stopped
service
:
name=nginx state=stopped
arguments="{{ STOP_ALL_EDX_SERVICES_EXTRA_ARGS }}"
-
name
:
stop rabbitmq-server
service
:
name=rabbitmq-server state=stopped
service
:
name=rabbitmq-server state=stopped
arguments="{{ STOP_ALL_EDX_SERVICES_EXTRA_ARGS }}"
-
name
:
stop mysql
service
:
name=mysql state=stopped
service
:
name=mysql state=stopped
arguments="{{ STOP_ALL_EDX_SERVICES_EXTRA_ARGS }}"
-
name
:
stop memcached
service
:
name=memcached state=stopped
service
:
name=memcached state=stopped
arguments="{{ STOP_ALL_EDX_SERVICES_EXTRA_ARGS }}"
-
name
:
stop supervisor.devpi
service
:
name=supervisor.devpi state=stopped
service
:
name=supervisor.devpi state=stopped
arguments="{{ STOP_ALL_EDX_SERVICES_EXTRA_ARGS }}"
-
name
:
stop nginx
service
:
name=nginx state=stopped
service
:
name=nginx state=stopped
arguments="{{ STOP_ALL_EDX_SERVICES_EXTRA_ARGS }}"
-
name
:
stop rabbitmq-server
service
:
name=rabbitmq-server state=stopped
service
:
name=rabbitmq-server state=stopped
arguments="{{ STOP_ALL_EDX_SERVICES_EXTRA_ARGS }}"
-
name
:
stop mongodb
service
:
name=mongodb state=stopped
service
:
name=mongodb state=stopped
arguments="{{ STOP_ALL_EDX_SERVICES_EXTRA_ARGS }}"
-
name
:
kill processes by user
shell
:
pkill -u {{ item }} ||
true
...
...
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