retry unmount kubelet dirs

This commit is contained in:
Matthew Mosesohn 2018-02-21 14:41:57 +03:00
parent bfe196236f
commit c20f38b89c

View file

@ -67,6 +67,10 @@
- name: reset | unmount kubelet dirs - name: reset | unmount kubelet dirs
command: umount {{item}} command: umount {{item}}
with_items: '{{ mounted_dirs.stdout_lines }}' with_items: '{{ mounted_dirs.stdout_lines }}'
register: umount_dir
retries: 4
until: umount_dir.rc == 0
delay: 5
tags: tags:
- mounts - mounts