mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-15 20:00:47 -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>
29 lines
766 B
YAML
29 lines
766 B
YAML
---
|
|
- name: Reset | check kube-dummy-if network device
|
|
stat:
|
|
path: /sys/class/net/kube-dummy-if
|
|
get_attributes: no
|
|
get_checksum: no
|
|
get_mime: no
|
|
register: kube_dummy_if
|
|
|
|
- name: Reset | remove the network device created by kube-router
|
|
command: ip link del kube-dummy-if
|
|
when: kube_dummy_if.stat.exists
|
|
|
|
- name: Check kube-bridge exists
|
|
stat:
|
|
path: /sys/class/net/kube-bridge
|
|
get_attributes: no
|
|
get_checksum: no
|
|
get_mime: no
|
|
register: kube_bridge_if
|
|
|
|
- name: Reset | donw the network bridge create by kube-router
|
|
command: ip link set kube-bridge down
|
|
when: kube_bridge_if.stat.exists
|
|
|
|
- name: Reset | remove the network bridge create by kube-router
|
|
command: ip link del kube-bridge
|
|
when: kube_bridge_if.stat.exists
|