Merge pull request #2360 from mattymo/reset_fixes

retry unmount kubelet dirs
pull/2382/head
Chad Swenson 2018-02-26 18:30:38 -06:00 committed by GitHub
commit 9e85a023c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

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