summaryrefslogtreecommitdiff
path: root/roles/rudpad
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
parent17905951d3881b12113646db136a48f1671fd383 (diff)
rudpad: Add rclone
Diffstat (limited to 'roles/rudpad')
-rw-r--r--roles/rudpad/files/rclone.conf22
-rw-r--r--roles/rudpad/tasks/main.yml13
2 files changed, 35 insertions, 0 deletions
diff --git a/roles/rudpad/files/rclone.conf b/roles/rudpad/files/rclone.conf
new file mode 100644
index 0000000..f539e98
--- /dev/null
+++ b/roles/rudpad/files/rclone.conf
@@ -0,0 +1,22 @@
+$ANSIBLE_VAULT;1.1;AES256
+33643665643132363530313839616636613865386332656364666539656233633364306262336562
+3264326132626636386431396333353032663062366565660a303336353635633535386336636232
+62656230633136623965393131623434333331363330333632336232643130396630626164633237
+6535646637396535660a633034346461303934663136396662666431316533613538333831323964
+38643434656635643638663366353762343331633739616530333565373366356161316139633661
+62343263393936613636386532623438393965646339626565633064393539313462633166666532
+33663937656364333661343739396233396363643362356561396565373335313138656365356163
+34336164323935323334303761623731353266643338386566356433663536326133616531383932
+37633436653163343831393764373965323139393130623837326263373633646563613630323565
+61353937386435616562326565336462623930626636386233663435376565633663623433663365
+32623137323862626635303233353837363864383866636437616135333363633539653731653636
+30636361623739306131636531346562343437366365333038333636663439303037313935316563
+39616639306533306430383833396661373934313361623662343631363135366238633835303964
+39663531313038396663393036383766623433643731363437336135616166383365626363636263
+65383432666164343134636539303163323262303631303037626162383238663163666136383535
+34633862393836653132323637646430623438353134363264376632386239313365373234316436
+65616237373866643861306463376432333235633464393435353765356635316330653663343166
+38623861383230376634336661303430356335613638633034366335363864643662656638323434
+34623062623136323531306565633235333438363964386333326265393665383963346234323039
+61616430363734396639643930313636343433646231663434346232373566643364646264383637
+63316134646236343936353562633463316638623731613466376634313735373537
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