diff --git a/group_vars/pbs.yml b/group_vars/pbs.yml index 6520ac76..358c4634 100644 --- a/group_vars/pbs.yml +++ b/group_vars/pbs.yml @@ -1,4 +1,7 @@ --- +### mgrote_rsync +rsync_host_role: destination + ### mgrote_netplan netplan_configure: false diff --git a/group_vars/pve.yml b/group_vars/pve.yml index b2b56dcc..1225340a 100644 --- a/group_vars/pve.yml +++ b/group_vars/pve.yml @@ -1,4 +1,7 @@ --- +### mgrote_rsync +rsync_host_role: source + ### mgrote_netplan netplan_configure: false diff --git a/roles/mgrote_rsync/tasks/main.yml b/roles/mgrote_rsync/tasks/main.yml index 7ec0230a..8ee19b0e 100644 --- a/roles/mgrote_rsync/tasks/main.yml +++ b/roles/mgrote_rsync/tasks/main.yml @@ -4,8 +4,8 @@ - name: Include source tasks ansible.builtin.include_tasks: source.yml - when: "'source' in rsync_host" + when: "'source' in rsync_host_role" - name: Include destination tasks ansible.builtin.include_tasks: destination.yml - when: "'destination' in rsync_host " + when: "'destination' in rsync_host_role"