commit | 93a3a54dcdb11c96de0fcda1ef6656f94fe60210 | [log] [tgz] |
---|---|---|
author | Carlos Frias <carlos.frias.01@gmail.com> | Fri Dec 16 21:11:48 2016 -0500 |
committer | Carlos Frias <carlos.frias.01@gmail.com> | Fri Dec 16 21:11:48 2016 -0500 |
tree | 672aae5fcb0538fa0d91dac80306f31229f2f82f | |
parent | c25b96744759112983d1e5dbc676d854f11d4a5e [diff] |
Updated to use rsync
diff --git a/tasks/main.yml b/tasks/main.yml index b2dc0b5..a389fb6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -19,9 +19,9 @@ - name: Use rsync to copy to remote node synchronize: - mode: pull + mode: push dest: "{{ archive_folder }}/{{ archive_name }}" - src: "{{ hostvars[groups['mirror'][0]]['local_address'] }}:{{ archive_path }}" + src: "rsync://{{ hostvars[groups['mirror'][0]]['local_address'] }}:{{ archive_path }}"