2015-10-03 20:19:50 +00:00
|
|
|
---
|
2016-05-13 13:08:28 +00:00
|
|
|
- name: delete default docker bridge
|
|
|
|
command: ip link delete docker0
|
|
|
|
ignore_errors: yes
|
|
|
|
notify: restart docker
|
|
|
|
|
2016-01-25 20:09:42 +00:00
|
|
|
- name: restart docker
|
2016-01-09 09:45:50 +00:00
|
|
|
command: /bin/true
|
2015-10-03 20:19:50 +00:00
|
|
|
notify:
|
2016-07-29 09:46:24 +00:00
|
|
|
- Flannel | reload systemd
|
|
|
|
- Flannel | reload docker
|
|
|
|
- Flannel | reload kubelet
|
2015-10-03 20:19:50 +00:00
|
|
|
|
2016-07-29 09:46:24 +00:00
|
|
|
- name : Flannel | reload systemd
|
2016-01-09 09:45:50 +00:00
|
|
|
shell: systemctl daemon-reload
|
2016-02-13 10:17:20 +00:00
|
|
|
when: ansible_service_mgr == "systemd"
|
2016-01-09 09:45:50 +00:00
|
|
|
|
2016-07-29 09:46:24 +00:00
|
|
|
- name: Flannel | reload docker
|
2016-01-09 09:45:50 +00:00
|
|
|
service:
|
|
|
|
name: docker
|
|
|
|
state: restarted
|
2016-01-19 12:47:07 +00:00
|
|
|
|
2016-07-29 09:46:24 +00:00
|
|
|
- name: Flannel | reload kubelet
|
2016-01-19 12:47:07 +00:00
|
|
|
service:
|
|
|
|
name: kubelet
|
|
|
|
state: restarted
|