2016-01-30 15:04:47 +00:00
|
|
|
---
|
2019-04-21 15:07:45 +00:00
|
|
|
- name: reset_calico_cni
|
2016-01-30 15:04:47 +00:00
|
|
|
command: /bin/true
|
|
|
|
notify:
|
2019-04-21 15:07:45 +00:00
|
|
|
- delete 10-calico.conflist
|
|
|
|
- delete calico-node containers
|
2016-01-30 15:04:47 +00:00
|
|
|
|
2019-04-21 15:07:45 +00:00
|
|
|
- name: delete 10-calico.conflist
|
|
|
|
file:
|
|
|
|
path: /etc/calico/10-calico.conflist
|
|
|
|
state: absent
|
2016-01-30 15:04:47 +00:00
|
|
|
|
2019-04-21 15:07:45 +00:00
|
|
|
- name: delete calico-node containers
|
|
|
|
shell: "docker ps -af name=k8s_POD_calico-node* -q | xargs --no-run-if-empty docker rm -f"
|