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
359 B

6 years ago
  1. ---
  2. - name: reset | check contiv vxlan_sys network device
  3. stat:
  4. path: "/sys/class/net/vxlan_sys_{{ contiv_vxlan_port | default('4789') }}"
  5. register: contiv_vxlan_sys
  6. - name: reset | remove the vxlan_sys network device created by contiv
  7. command: "ip link del vxlan_sys_{{ contiv_vxlan_port | default('4789') }}"
  8. when: contiv_vxlan_sys.stat.exists