You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
265 B

  1. ---
  2. - name: reset | check kube-dummy-if network device
  3. stat:
  4. path: /sys/class/net/kube-dummy-if
  5. register: kube_dummy_if
  6. - name: reset | remove the network device created by kube-router
  7. command: ip link del kube-dummy-if
  8. when: kube_dummy_if.stat.exists