You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
670 B

  1. ---
  2. - name: restart weave
  3. command: /bin/true
  4. notify:
  5. - Weave | reload systemd
  6. - reload weave
  7. - name : Weave | reload systemd
  8. shell: systemctl daemon-reload
  9. when: ansible_service_mgr == "systemd"
  10. - name: restart weaveproxy
  11. command: /bin/true
  12. notify:
  13. - Weave | reload systemd
  14. - reload weaveproxy
  15. - name: restart weaveexpose
  16. command: /bin/true
  17. notify:
  18. - Weave | reload systemd
  19. - reload weaveexpose
  20. - name: reload weave
  21. service:
  22. name: weave
  23. state: restarted
  24. - name: reload weaveproxy
  25. service:
  26. name: weaveproxy
  27. state: restarted
  28. - name: reload weaveexpose
  29. service:
  30. name: weaveexpose
  31. state: restarted