From e0b0db2d7761ae94d07843a86aa18e59bb24372c Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Mon, 23 Dec 2024 22:26:28 +0100 Subject: [PATCH] Semplificazione installazione rclone. --- roles/rclone/tasks/install/alpine.yml | 7 ------- roles/rclone/tasks/install/archlinux.yml | 7 ------- roles/rclone/tasks/install/debian.yml | 7 ------- roles/rclone/tasks/install/redhat.yml | 7 ------- roles/rclone/tasks/install/void.yml | 7 ------- roles/rclone/tasks/main.yml | 13 ++++++------- 6 files changed, 6 insertions(+), 42 deletions(-) delete mode 100644 roles/rclone/tasks/install/alpine.yml delete mode 100644 roles/rclone/tasks/install/archlinux.yml delete mode 100644 roles/rclone/tasks/install/debian.yml delete mode 100644 roles/rclone/tasks/install/redhat.yml delete mode 100644 roles/rclone/tasks/install/void.yml diff --git a/roles/rclone/tasks/install/alpine.yml b/roles/rclone/tasks/install/alpine.yml deleted file mode 100644 index e13d291..0000000 --- a/roles/rclone/tasks/install/alpine.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (alp) installing rclone - community.general.apk: - name: rclone - state: present - update_cache: true - become: true diff --git a/roles/rclone/tasks/install/archlinux.yml b/roles/rclone/tasks/install/archlinux.yml deleted file mode 100644 index 30b8b42..0000000 --- a/roles/rclone/tasks/install/archlinux.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (arch) installing rclone - community.general.pacman: - name: rclone - state: present - update_cache: true - become: true diff --git a/roles/rclone/tasks/install/debian.yml b/roles/rclone/tasks/install/debian.yml deleted file mode 100644 index 0e47d19..0000000 --- a/roles/rclone/tasks/install/debian.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (deb) installing rclone - ansible.builtin.apt: - name: rclone - state: present - update_cache: true - become: true diff --git a/roles/rclone/tasks/install/redhat.yml b/roles/rclone/tasks/install/redhat.yml deleted file mode 100644 index d22be90..0000000 --- a/roles/rclone/tasks/install/redhat.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (rHa) installing rclone - ansible.builtin.yum: - name: rclone - state: present - update_cache: true - become: true diff --git a/roles/rclone/tasks/install/void.yml b/roles/rclone/tasks/install/void.yml deleted file mode 100644 index 3cfaca3..0000000 --- a/roles/rclone/tasks/install/void.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (void) installing rclone - community.general.xbps: - name: rclone - state: present - update_cache: true - become: true diff --git a/roles/rclone/tasks/main.yml b/roles/rclone/tasks/main.yml index bdbbd33..02430bf 100644 --- a/roles/rclone/tasks/main.yml +++ b/roles/rclone/tasks/main.yml @@ -1,13 +1,12 @@ --- # Rclone -- name: Installation - ansible.builtin.include_tasks: "install/{{ ansible_os_family | lower }}.yml" - args: - apply: - tags: - - rclone - - rclone-install +- name: Installing rclone + ansible.builtin.package: + name: rclone + state: present + update_cache: true + become: true tags: - rclone - rclone-install