- name: Keepalived | Remove ARP and IP address entries associated with kube-vip
  command: |
    ip neigh show | grep {{ .image_registry.ha_vip }} | awk '{print $1 " dev " $3}' | xargs -r -L1 ip neigh delete
    ip -o addr show | grep {{ .image_registry.ha_vip }} | awk '{system("ip addr del "$4" dev "$2)}'

- name: Keepalived | Remove all residual Keepalived files and directories
  command: |
    rm -rf /opt/keepalived/