Skip to content

Commit

Permalink
Merge pull request #53 from robled/teardown_with_service_module
Browse files Browse the repository at this point in the history
use service module to stop swarm client on teardown #52
  • Loading branch information
robled authored Feb 28, 2017
2 parents a2543f2 + 8821145 commit dc0aadf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cinch/roles/jenkins_slave_teardown/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
- name: kill java process to remove Jenkins slave from Jenkins master
command: pkill java
- name: stop swarm service to remove Jenkins slave from Jenkins master
service:
name: swarm
state: stopped

0 comments on commit dc0aadf

Please sign in to comment.