Skip to content

Commit

Permalink
Add timeouts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Carrigan committed Aug 23, 2017
1 parent bdb9be2 commit 15640b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/release.yml
@@ -1,7 +1,7 @@
---
- when: deploy_type == "restart"
name: stop app
monit: name="{{ app_name }}" state=stopped
monit: name="{{ app_name }}" state=stopped timeout=300


- when: deploy_type == "restart"
Expand All @@ -20,7 +20,7 @@

- when: deploy_type == "restart"
name: start app
monit: name="{{ app_name }}" state=started
monit: name="{{ app_name }}" state=started timeout=300


- when: deploy_type == "upgrade"
Expand Down

0 comments on commit 15640b7

Please sign in to comment.