Fix rclone config permissions
This commit is contained in:
parent
f652f5b2b3
commit
9e7a8aca7c
|
@ -3,30 +3,31 @@
|
||||||
tags:
|
tags:
|
||||||
- rclone
|
- rclone
|
||||||
block:
|
block:
|
||||||
- name: "Rclone: Packages"
|
- name: "Rclone: Packages"
|
||||||
tags:
|
tags:
|
||||||
- install
|
- install
|
||||||
package:
|
package:
|
||||||
name: "rclone"
|
name: "rclone"
|
||||||
state: latest
|
state: latest
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
- name: "Rclone: Configuration"
|
- name: "Rclone: Configuration"
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
template:
|
template:
|
||||||
src: "templates/rclone.conf.j2"
|
src: "templates/rclone.conf.j2"
|
||||||
dest: "/srv/etc/rclone.conf"
|
dest: "/srv/etc/rclone.conf"
|
||||||
mode: "0400"
|
mode: "0600"
|
||||||
owner: "media"
|
owner: "media"
|
||||||
force: no
|
group: "media"
|
||||||
become: yes
|
force: no
|
||||||
|
become: yes
|
||||||
|
|
||||||
- name: "Rclone: Configuration: FUSE"
|
- name: "Rclone: Configuration: FUSE"
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/fuse.conf
|
path: /etc/fuse.conf
|
||||||
regexp: "^#?user_allow_other"
|
regexp: "^#?user_allow_other"
|
||||||
line: "user_allow_other"
|
line: "user_allow_other"
|
||||||
become: yes
|
become: yes
|
||||||
|
|
Loading…
Reference in a new issue