Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit a9c2d96

Browse files
duck-rhmscherer
authored andcommitted
also install Rsync on the other side if needed
1 parent 56b5cb4 commit a9c2d96

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

tasks/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,13 @@
9797
remote_user: "{{ rsync_user }}"
9898
when: rsync_server is defined and rsync_location is defined and rsync_user is defined
9999

100+
- name: Install Rsync on the other side
101+
package:
102+
name: "{{ rsync_package }}"
103+
state: present
104+
delegate_to: "{{ rsync_server }}"
105+
when: rsync_url != ''
106+
100107
- name: Compute SSH config for rsync sync
101108
set_fact:
102109
remote_user: "{{ rsync_user }}"

vars/Debian.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
rsync_package: rsync
23
package_list:
34
- ruby-bundler
45
- ruby-dev

vars/RedHat.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
rsync_package: rsync
23
package_list:
34
- rubygem-bundler
45
- ruby-devel

0 commit comments

Comments
 (0)