mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-16 20:30:50 -03:30
* project: fix ansible-lint name Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: ignore jinja template error in names Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: capitalize ansible name Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: update notify after name capitalization Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
25 lines
575 B
YAML
25 lines
575 B
YAML
---
|
|
- name: Reset | check cni network device
|
|
stat:
|
|
path: /sys/class/net/cni0
|
|
get_attributes: no
|
|
get_checksum: no
|
|
get_mime: no
|
|
register: cni
|
|
|
|
- name: Reset | remove the network device created by the flannel
|
|
command: ip link del cni0
|
|
when: cni.stat.exists
|
|
|
|
- name: Reset | check flannel network device
|
|
stat:
|
|
path: /sys/class/net/flannel.1
|
|
get_attributes: no
|
|
get_checksum: no
|
|
get_mime: no
|
|
register: flannel
|
|
|
|
- name: Reset | remove the network device created by the flannel
|
|
command: ip link del flannel.1
|
|
when: flannel.stat.exists
|