Skip to content

Commit

Permalink
use service module to stop swarm client on teardown
Browse files Browse the repository at this point in the history
  • Loading branch information
David Roble committed Feb 28, 2017
1 parent a2543f2 commit 8821145
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 8821145

Please sign in to comment.