e8a1c7a53f
Creating the unit using default settings early on and then changing it during network_plugin section leads to too many docker restarts and duplicated code. Reversed Wants= dependence on docker.service so it does not restart docker when reloading systemd Consolidated all docker restart handlers.
10 lines
205 B
YAML
10 lines
205 B
YAML
---
|
|
- name: delete default docker bridge
|
|
command: ip link delete docker0
|
|
ignore_errors: yes
|
|
notify: restart docker
|
|
|
|
- name: Flannel | reload kubelet
|
|
service:
|
|
name: kubelet
|
|
state: restarted
|