From 65952d35cef1493e86201484c22c82f6dee29fcc Mon Sep 17 00:00:00 2001 From: nicolas-f <1382241+nicolas-f@users.noreply.github.com> Date: Wed, 26 Jun 2024 11:51:18 +0200 Subject: [PATCH] test timeout command to stop rsync after 10 minutes --- services/ansible_openvpn/playbooks/fetch_rpi_data.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/services/ansible_openvpn/playbooks/fetch_rpi_data.yml b/services/ansible_openvpn/playbooks/fetch_rpi_data.yml index ef93a57..6a7d8b5 100644 --- a/services/ansible_openvpn/playbooks/fetch_rpi_data.yml +++ b/services/ansible_openvpn/playbooks/fetch_rpi_data.yml @@ -5,6 +5,7 @@ source: '/home/pi/noisesensor/out/' source2: '/home/pi/noisesensor/outsd/' destination: '/home/semaphore/data/to_process/' + ansible_rsync_path: '/usr/bin/timeout 600 /usr/bin/rsync' tasks: # - name: get current RX # shell: /usr/sbin/ifconfig tun0 | grep "RX packets" | awk '{print $5}'