This commit is contained in:
Michael Grote 2024-10-28 19:03:14 +01:00
parent f4174a07cd
commit 8abedc7609
2 changed files with 7 additions and 7 deletions

View file

@ -2,6 +2,13 @@
- 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
become: true
ansible.builtin.package:
name:
- rsync
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"

View file

@ -1,11 +1,4 @@
--- ---
- name: Ensure packages are present
become: true
ansible.builtin.package:
name:
- rsync
state: present
- name: Ensure needed dirs exist - name: Ensure needed dirs exist
become: true become: true
ansible.builtin.file: ansible.builtin.file: