From 7f27e3ac33a742ba60dd83500a6bbf1fcf2eac92 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Mon, 23 Dec 2024 23:04:36 +0100 Subject: [PATCH] Installazione pacchetto con comando rpm. --- roles/rclone/tasks/install/redhat.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/roles/rclone/tasks/install/redhat.yml b/roles/rclone/tasks/install/redhat.yml index b9a2b05..ca3fb9f 100644 --- a/roles/rclone/tasks/install/redhat.yml +++ b/roles/rclone/tasks/install/redhat.yml @@ -18,9 +18,8 @@ dest: /tmp/rclone.rpm - name: Install rclone from upstream package. - ansible.builtin.package: - path: /tmp/rclone.rpm - state: present + ansible.builtin.command: + cmd: rpm -i /tmp/rclone.rpm become: true - name: Cleanup