Idempotency fixes (#1838)

This commit is contained in:
Matthew Mosesohn
2017-10-25 21:19:40 +01:00
committed by GitHub
parent 7123956ecd
commit 86fb669fd3
9 changed files with 25 additions and 8 deletions

View File

@@ -2,6 +2,7 @@
- name: look up docker cgroup driver
shell: "docker info | grep 'Cgroup Driver' | awk -F': ' '{ print $2; }'"
register: docker_cgroup_driver_result
changed_when: false
- set_fact:
standalone_kubelet: >-

View File

@@ -8,4 +8,5 @@
- name: "Pre-upgrade | ensure kubelet container is stopped if using host deployment"
command: docker stop kubelet
failed_when: false
changed_when: false
when: kubelet_deployment_type == 'host'