[fix] Use rsync --blocking-io to work around EAGAIN hazard

Fixes #6692
This commit is contained in:
Dominique Quatravaux
2020-04-16 19:21:10 +02:00
parent 21268b779f
commit 5a1599b440
2 changed files with 3 additions and 0 deletions

View File

@@ -38,6 +38,7 @@
recursive: true
set_remote_user: false
rsync_opts:
- "--blocking-io"
- "--rsh=$RSH"
environment:
RSH: "oc rsh --config={{ ansible_kubectl_config }}"
@@ -51,6 +52,7 @@
mode: pull
set_remote_user: false
rsync_opts:
- "--blocking-io"
- "--rsh=$RSH"
environment:
RSH: "oc rsh --config={{ ansible_kubectl_config }}"

View File

@@ -25,6 +25,7 @@
dest: "{{ dest }}"
set_remote_user: false
rsync_opts:
- "--blocking-io"
- "--rsh=$RSH"
environment:
RSH: "oc rsh --config={{ ansible_kubectl_config }}"