fixup upgrades for canal and weave

This commit is contained in:
Matthew Mosesohn 2017-02-10 13:27:41 +03:00
parent ee15f99dd7
commit 6ae70e03cb
2 changed files with 3 additions and 1 deletions

View file

@ -13,7 +13,7 @@
kube:
name: "canal-node"
kubectl: "{{ bin_dir }}/kubectl"
filename: "{{ kube_config_dir }}/canal-node.yml"
filename: "{{ kube_config_dir }}/canal-node.yaml"
resource: "ds"
namespace: "{{system_namespace}}"
state: absent

View file

@ -37,3 +37,5 @@
- name: Weave pre-upgrade | Purge legacy weave docker containers
shell: "docker ps -af 'name=^/weave.*' -q | xargs --no-run-if-empty docker rm -f"
retries: 3
failed_when: false