summaryrefslogtreecommitdiff
path: root/roles/rudpad/tasks
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-08-23 13:32:53 +0100
committerNick White <git@njw.name>2021-08-23 13:32:53 +0100
commitc6255f0386d1fa11987f29bcd92aadc1971e56f7 (patch)
treec2b4d6c3761245763e25f43fd94218f5d387fb34 /roles/rudpad/tasks
parent17905951d3881b12113646db136a48f1671fd383 (diff)
rudpad: Add rclone
Diffstat (limited to 'roles/rudpad/tasks')
-rw-r--r--roles/rudpad/tasks/main.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/rudpad/tasks/main.yml b/roles/rudpad/tasks/main.yml
index 0ab0b64..6a39baf 100644
--- a/roles/rudpad/tasks/main.yml
+++ b/roles/rudpad/tasks/main.yml
@@ -14,6 +14,7 @@
- libssl-dev # needed for getxbook
- make
- poppler-utils # for pdfimages
+ - rclone
- name: Download Go
get_url:
@@ -87,3 +88,15 @@
target: install
params:
PREFIX: /home/{{ ansible_user }}/.local
+
+- name: Create rclone config directory
+ file:
+ path: /home/{{ ansible_user }}/.config/rclone
+ state: directory
+ become: no
+
+- name: Configure rclone
+ copy:
+ src: rclone.conf
+ dest: /home/{{ ansible_user }}/.config/rclone/rclone.conf
+ become: no