commit | 07af69fed0690ebff629c0c9526a2a09fee27de9 | [log] [tgz] |
---|---|---|
author | Carlos Frias <carlos.frias.01@gmail.com> | Fri Dec 16 18:33:56 2016 -0500 |
committer | Carlos Frias <carlos.frias.01@gmail.com> | Fri Dec 16 18:33:56 2016 -0500 |
tree | d43f61614af10903d320ad3564f74221fe98e733 | |
parent | ebd0e6adb36e53de6359d36ed3a67a7045882fe7 [diff] |
Updated to use rsync
diff --git a/tasks/main.yml b/tasks/main.yml index 493c2c7..271992e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -22,7 +22,7 @@ synchronize: mode: pull src: '{{ local_resource_path }}/{{ archive_name }}' - dest: "rsync://{{ groups['mirror'][0] }}/{{ archive_folder }}" + dest: "rsync://{{ hostvars[groups['mirror'][0]][local_address] }}/{{ archive_folder }}"