fixup upgrades for canal and weave

pull/988/head
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: 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

View File

@ -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