Added installation of rsync should primary copy fail.
diff --git a/tasks/main.yml b/tasks/main.yml index 881291b..8383df1 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -9,6 +9,11 @@ register: result rescue: + - name: Install rsync if its missing + yum: + name: rsync + state: present + - name: First scp download attempt failed, trying with rsync synchronize: mode: pull