From 5d9f1a014e41e634d1e1c60168e23bb63f54afe2 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Mon, 23 Dec 2024 22:23:39 +0100 Subject: [PATCH] Rimosse specifiche per sistema operativo per rsync. --- roles/rsync/tasks/install/alpine.yml | 9 --------- roles/rsync/tasks/install/archlinux.yml | 7 ------- roles/rsync/tasks/install/debian.yml | 7 ------- roles/rsync/tasks/install/redhat.yml | 7 ------- roles/rsync/tasks/install/void.yml | 7 ------- roles/rsync/tasks/main.yml | 11 +++++------ 6 files changed, 5 insertions(+), 43 deletions(-) delete mode 100644 roles/rsync/tasks/install/alpine.yml delete mode 100644 roles/rsync/tasks/install/archlinux.yml delete mode 100644 roles/rsync/tasks/install/debian.yml delete mode 100644 roles/rsync/tasks/install/redhat.yml delete mode 100644 roles/rsync/tasks/install/void.yml 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