10 lines
265 B
YAML
10 lines
265 B
YAML
|
---
|
||
|
- name: reset | check kube-dummy-if network device
|
||
|
stat:
|
||
|
path: /sys/class/net/kube-dummy-if
|
||
|
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
|