2022-12-06 16:36:21 +01:00
|
|
|
---
|
|
|
|
- name: Create rclone config folder at "{{ rclone_config }}"
|
|
|
|
file:
|
|
|
|
path: "{{ rclone_config }}"
|
|
|
|
owner: '0'
|
|
|
|
group: '0'
|
|
|
|
mode: '700'
|
|
|
|
state: directory
|
|
|
|
become: true
|
|
|
|
|
2022-12-06 23:16:52 +01:00
|
|
|
- name: Copy "templates/{{ inventory_hostname }}/rclone.conf" config to "{{ inventory_hostname }}":"{{ rclone_config }}/rclone.conf"
|
2022-12-06 16:36:21 +01:00
|
|
|
template:
|
|
|
|
src: "templates/{{ inventory_hostname }}/rclone.conf"
|
|
|
|
dest: "{{ rclone_config }}/rclone.conf"
|
|
|
|
owner: '0'
|
|
|
|
group: '0'
|
|
|
|
mode: '400'
|
|
|
|
become: true
|