c12s-kubespray/roles/network_plugin/handlers/main.yml

37 lines
652 B
YAML
Raw Normal View History

2015-10-03 20:19:50 +00:00
---
2016-01-04 13:22:18 +00:00
- name: restart systemd-calico-node
command: /bin/true
notify:
- reload systemd
- restart calico-node
2016-01-09 09:45:50 +00:00
- name: restart systemd-docker
command: /bin/true
2015-10-03 20:19:50 +00:00
notify:
- reload systemd
2016-01-09 09:45:50 +00:00
- restart docker
- restart kubelet
2015-10-03 20:19:50 +00:00
2016-01-09 09:45:50 +00:00
- name: delete default docker bridge
2015-10-03 20:19:50 +00:00
command: ip link delete docker0
ignore_errors: yes
2016-01-09 09:45:50 +00:00
notify: restart docker
2015-10-03 20:19:50 +00:00
2016-01-09 09:45:50 +00:00
- name : reload systemd
shell: systemctl daemon-reload
- name: restart calico-node
service:
name: calico-node
state: restarted
- name: restart docker
service:
name: docker
state: restarted
- name: restart kubelet
service:
name: kubelet
state: restarted