diff --git a/roles/rsync/tasks/install/alpine.yml b/roles/rsync/tasks/install/alpine.yml deleted file mode 100644 index ee814e3..0000000 --- a/roles/rsync/tasks/install/alpine.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -# rsync - -- name: (alp) installing rsync - community.general.apk: - name: rsync - state: present - update_cache: true - become: true diff --git a/roles/rsync/tasks/install/archlinux.yml b/roles/rsync/tasks/install/archlinux.yml deleted file mode 100644 index 6bbcd1e..0000000 --- a/roles/rsync/tasks/install/archlinux.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (arch) installing rsync - community.general.pacman: - name: rsync - state: present - update_cache: true - become: true diff --git a/roles/rsync/tasks/install/debian.yml b/roles/rsync/tasks/install/debian.yml deleted file mode 100644 index 5393a44..0000000 --- a/roles/rsync/tasks/install/debian.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (deb) installing rsync - ansible.builtin.apt: - name: rsync - state: present - update_cache: true - become: true diff --git a/roles/rsync/tasks/install/redhat.yml b/roles/rsync/tasks/install/redhat.yml deleted file mode 100644 index 4638c2a..0000000 --- a/roles/rsync/tasks/install/redhat.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (rHa) installing rsync - ansible.builtin.yum: - name: rsync - state: present - update_cache: true - become: true diff --git a/roles/rsync/tasks/install/void.yml b/roles/rsync/tasks/install/void.yml deleted file mode 100644 index 97266ae..0000000 --- a/roles/rsync/tasks/install/void.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (void) installing rsync - community.general.xbps: - name: rsync - state: present - update_cache: true - become: true diff --git a/roles/rsync/tasks/main.yml b/roles/rsync/tasks/main.yml index 54a8bc1..a979925 100644 --- a/roles/rsync/tasks/main.yml +++ b/roles/rsync/tasks/main.yml @@ -2,12 +2,11 @@ # Rsync - name: Installation - ansible.builtin.include_tasks: "install/{{ ansible_os_family | lower }}.yml" - args: - apply: - tags: - - rsync - - rsync-install + ansible.builtin.package: + name: rsync + state: present + update_cache: true + become: true tags: - rsync - rsync-install