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.

30 lines
555 B

9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
  1. ---
  2. - name: restart systemd-calico-node
  3. command: /bin/true
  4. notify:
  5. - reload systemd
  6. - restart calico-node
  7. - name: restart systemd-docker
  8. command: /bin/true
  9. notify:
  10. - reload systemd
  11. - restart docker
  12. - name: delete default docker bridge
  13. command: ip link delete docker0
  14. ignore_errors: yes
  15. notify: restart docker
  16. - name : reload systemd
  17. shell: systemctl daemon-reload
  18. - name: restart calico-node
  19. service:
  20. name: calico-node
  21. state: restarted
  22. - name: restart docker
  23. service:
  24. name: docker
  25. state: restarted