retry unmount kubelet dirs
This commit is contained in:
parent
bfe196236f
commit
c20f38b89c
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue