Fallback a precedente implementazione per rclone.

This commit is contained in:
Emiliano Vavassori 2024-12-23 22:58:15 +01:00
parent bcc4748d97
commit 461b1caf33
6 changed files with 51 additions and 6 deletions

View File

@ -0,0 +1,7 @@
---
- name: (alp) installing rclone
community.general.apk:
name: rclone
state: present
update_cache: true
become: true

View File

@ -0,0 +1,7 @@
---
- name: (arch) installing rclone
community.general.pacman:
name: rclone
state: present
update_cache: true
become: true

View File

@ -0,0 +1,7 @@
---
- name: (deb) installing rclone
ansible.builtin.apt:
name: rclone
state: present
update_cache: true
become: true

View File

@ -0,0 +1,16 @@
---
- name: (rHa) installing rclone from repositories
ansible.builtin.package:
name: rclone
state: present
update_cache: true
become: true
register: rclone_repos
ignore_errors: true
- name: Install rclone from upstream package.
ansible.builtin.package:
url: https://downloads.rclone.org/v1.68.2/rclone-v1.68.2-linux-amd64.rpm
state: present
become: true
when: rclone_repos is failed

View File

@ -0,0 +1,7 @@
---
- name: (void) installing rclone
community.general.xbps:
name: rclone
state: present
update_cache: true
become: true

View File

@ -1,12 +1,13 @@
---
# Rclone
- name: Installing rclone
ansible.builtin.package:
name: rclone
state: present
update_cache: true
become: true
- name: Installation
ansible.builtin.include_tasks: "install/{{ ansible_os_family | lower }}.yml"
args:
apply:
tags:
- rclone
- rclone-install
tags:
- rclone
- rclone-install