Do not try to remove some flannel file that cannot be removed, and remove some other instead
@@ -7,10 +7,10 @@ uninstall-flannel:
service.disabled:
- name: flanneld
-remove-flannel-unit:
+remove-flannel-files-1:
file.absent:
- - name: /usr/lib/systemd/system/docker.service.d/flannel.conf
+ - name: /run/flannel/docker
-remove-flannel-subnets:
+remove-flannel-files-2:
file.absent:
- name: /var/run/flannel
