sdfg
This commit is contained in:
parent
c6f4fc1f8c
commit
70b0ecc141
1 changed files with 14 additions and 14 deletions
|
@ -2,20 +2,20 @@
|
|||
- name: Block
|
||||
when: rsync_host_role is defined
|
||||
block:
|
||||
- name: Include user tasks
|
||||
ansible.builtin.include_tasks: user.yml
|
||||
- name: Include user tasks
|
||||
ansible.builtin.include_tasks: user.yml
|
||||
|
||||
- name: Ensure packages are present
|
||||
become: true
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- rsync
|
||||
state: present
|
||||
- name: Ensure packages are present
|
||||
become: true
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- rsync
|
||||
state: present
|
||||
|
||||
- name: Include source tasks
|
||||
ansible.builtin.include_tasks: source.yml
|
||||
when: "'source' in rsync_host_role"
|
||||
- name: Include source tasks
|
||||
ansible.builtin.include_tasks: source.yml
|
||||
when: "'source' in rsync_host_role"
|
||||
|
||||
- name: Include destination tasks
|
||||
ansible.builtin.include_tasks: destination.yml
|
||||
when: "'destination' in rsync_host_role"
|
||||
- name: Include destination tasks
|
||||
ansible.builtin.include_tasks: destination.yml
|
||||
when: "'destination' in rsync_host_role"
|
||||
|
|
Loading…
Reference in a new issue