fixup upgrades for canal and weave
parent
ee15f99dd7
commit
6ae70e03cb
|
@ -13,7 +13,7 @@
|
||||||
kube:
|
kube:
|
||||||
name: "canal-node"
|
name: "canal-node"
|
||||||
kubectl: "{{ bin_dir }}/kubectl"
|
kubectl: "{{ bin_dir }}/kubectl"
|
||||||
filename: "{{ kube_config_dir }}/canal-node.yml"
|
filename: "{{ kube_config_dir }}/canal-node.yaml"
|
||||||
resource: "ds"
|
resource: "ds"
|
||||||
namespace: "{{system_namespace}}"
|
namespace: "{{system_namespace}}"
|
||||||
state: absent
|
state: absent
|
||||||
|
|
|
@ -37,3 +37,5 @@
|
||||||
|
|
||||||
- name: Weave pre-upgrade | Purge legacy weave docker containers
|
- name: Weave pre-upgrade | Purge legacy weave docker containers
|
||||||
shell: "docker ps -af 'name=^/weave.*' -q | xargs --no-run-if-empty docker rm -f"
|
shell: "docker ps -af 'name=^/weave.*' -q | xargs --no-run-if-empty docker rm -f"
|
||||||
|
retries: 3
|
||||||
|
failed_when: false
|
||||||
|
|
Loading…
Reference in New Issue