Browse Source

retry unmount kubelet dirs

pull/2360/head
Matthew Mosesohn 6 years ago
parent
commit
c20f38b89c
1 changed files with 4 additions and 0 deletions
  1. 4
      roles/reset/tasks/main.yml

4
roles/reset/tasks/main.yml

@ -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

Loading…
Cancel
Save