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