Download:
child 94:6a0b2fa39927
parent 92:01512d738a37
93:db9a85db1f8d
Anton Shestakov <av6@dwimlabs.net>, Mon, 27 Jun 2016 18:09:10 +0800
provision: use supervisorctl module instead of command module for restarting

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
provision/roles/fruitbar/handlers/main.yml file | annotate | diff | comparison | revisions
--- a/provision/roles/fruitbar/handlers/main.yml Fri May 27 18:38:36 2016 +0800
+++ b/provision/roles/fruitbar/handlers/main.yml Mon Jun 27 18:09:10 2016 +0800
@@ -1,4 +1,4 @@
---
- name: restart fruitbar
- command: supervisorctl restart fruitbar
+ supervisorctl: name=fruitbar state=restarted
...