remove syncoid, switch to rsync #221
1 changed files with 14 additions and 14 deletions
|
@ -2,20 +2,20 @@
|
||||||
- name: Block
|
- name: Block
|
||||||
when: rsync_host_role is defined
|
when: rsync_host_role is defined
|
||||||
block:
|
block:
|
||||||
- name: Include user tasks
|
- name: Include user tasks
|
||||||
ansible.builtin.include_tasks: user.yml
|
ansible.builtin.include_tasks: user.yml
|
||||||
|
|
||||||
- name: Ensure packages are present
|
- name: Ensure packages are present
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- rsync
|
- rsync
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Include source tasks
|
- name: Include source tasks
|
||||||
ansible.builtin.include_tasks: source.yml
|
ansible.builtin.include_tasks: source.yml
|
||||||
when: "'source' in rsync_host_role"
|
when: "'source' in rsync_host_role"
|
||||||
|
|
||||||
- name: Include destination tasks
|
- name: Include destination tasks
|
||||||
ansible.builtin.include_tasks: destination.yml
|
ansible.builtin.include_tasks: destination.yml
|
||||||
when: "'destination' in rsync_host_role"
|
when: "'destination' in rsync_host_role"
|
||||||
|
|
Loading…
Reference in a new issue