sdfg
All checks were successful
ansible-lint / gitleaks (pull_request) Successful in 4s
ansible-lint / Ansible Lint (pull_request) Successful in 43s

This commit is contained in:
Michael Grote 2024-10-29 21:05:21 +01:00
parent c6f4fc1f8c
commit 70b0ecc141

View file

@ -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"