2019-10-12 15:53:12 +01:00
|
|
|
---
|
|
|
|
- name: "Rclone"
|
|
|
|
tags:
|
|
|
|
- rclone
|
|
|
|
block:
|
|
|
|
- name: "Rclone: Packages"
|
|
|
|
tags:
|
|
|
|
- install
|
|
|
|
package:
|
|
|
|
name: "rclone"
|
|
|
|
state: latest
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
- name: "Rclone: Configuration"
|
|
|
|
tags:
|
|
|
|
- config
|
|
|
|
template:
|
|
|
|
src: "templates/rclone.conf.j2"
|
2019-10-12 19:50:49 +01:00
|
|
|
dest: "/srv/etc/rclone.conf"
|
2019-10-12 15:53:12 +01:00
|
|
|
mode: "0400"
|
2019-10-12 19:50:49 +01:00
|
|
|
owner: "media"
|
2019-10-12 15:53:12 +01:00
|
|
|
force: no
|
2019-10-12 19:50:49 +01:00
|
|
|
become: yes
|
|
|
|
|
|
|
|
- name: "Rclone: Configuration: FUSE"
|
|
|
|
tags:
|
|
|
|
- config
|
|
|
|
lineinfile:
|
|
|
|
path: /etc/fuse.conf
|
|
|
|
regexp: "^#?user_allow_other"
|
|
|
|
line: "user_allow_other"
|
|
|
|
become: yes
|
|
|
|
|