retry unmount kubelet dirs

pull/2360/head
Matthew Mosesohn 2018-02-21 14:41:57 +03:00
parent bfe196236f
commit c20f38b89c
1 changed files with 4 additions and 0 deletions

View File

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