Fallback a precedente implementazione per rclone.
This commit is contained in:
parent
bcc4748d97
commit
461b1caf33
7
roles/rclone/tasks/install/alpine.yml
Normal file
7
roles/rclone/tasks/install/alpine.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
- name: (alp) installing rclone
|
||||||
|
community.general.apk:
|
||||||
|
name: rclone
|
||||||
|
state: present
|
||||||
|
update_cache: true
|
||||||
|
become: true
|
7
roles/rclone/tasks/install/archlinux.yml
Normal file
7
roles/rclone/tasks/install/archlinux.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
- name: (arch) installing rclone
|
||||||
|
community.general.pacman:
|
||||||
|
name: rclone
|
||||||
|
state: present
|
||||||
|
update_cache: true
|
||||||
|
become: true
|
7
roles/rclone/tasks/install/debian.yml
Normal file
7
roles/rclone/tasks/install/debian.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
- name: (deb) installing rclone
|
||||||
|
ansible.builtin.apt:
|
||||||
|
name: rclone
|
||||||
|
state: present
|
||||||
|
update_cache: true
|
||||||
|
become: true
|
16
roles/rclone/tasks/install/redhat.yml
Normal file
16
roles/rclone/tasks/install/redhat.yml
Normal 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
|
7
roles/rclone/tasks/install/void.yml
Normal file
7
roles/rclone/tasks/install/void.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
- name: (void) installing rclone
|
||||||
|
community.general.xbps:
|
||||||
|
name: rclone
|
||||||
|
state: present
|
||||||
|
update_cache: true
|
||||||
|
become: true
|
@ -1,12 +1,13 @@
|
|||||||
---
|
---
|
||||||
# Rclone
|
# Rclone
|
||||||
|
|
||||||
- name: Installing rclone
|
- name: Installation
|
||||||
ansible.builtin.package:
|
ansible.builtin.include_tasks: "install/{{ ansible_os_family | lower }}.yml"
|
||||||
name: rclone
|
args:
|
||||||
state: present
|
apply:
|
||||||
update_cache: true
|
tags:
|
||||||
become: true
|
- rclone
|
||||||
|
- rclone-install
|
||||||
tags:
|
tags:
|
||||||
- rclone
|
- rclone
|
||||||
- rclone-install
|
- rclone-install
|
||||||
|
Loading…
Reference in New Issue
Block a user