retry unmount kubelet dirs
parent
bfe196236f
commit
c20f38b89c
|
@ -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 New Issue