Skip to content

Commit

Permalink
Ignore errors when killing PM2 processes (#8)
Browse files Browse the repository at this point in the history
When there is no PM2 process to kill the script fails
  • Loading branch information
ukanga authored Sep 9, 2020
1 parent 26fc6fb commit d98b463
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,6 @@
- name: Cleanup pm2 processes # HACK: this should not be happening
shell:
ps aux | grep PM2 | grep -v grep | awk '{print $2}' | xargs kill -9 # noqa 306
ignore_errors: true
tags:
- molecule-idempotence-notest # noqa 301

0 comments on commit d98b463

Please sign in to comment.