mirror of
https://github.com/acaloiaro/bootstrap
synced 2026-07-21 10:12:26 +00:00
Configure nextcloud webdav mount
This commit is contained in:
parent
987cb61f52
commit
f40338cddc
2 changed files with 27 additions and 1 deletions
9
roles/regolith/base/vars/sekrits.yml
Normal file
9
roles/regolith/base/vars/sekrits.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
$ANSIBLE_VAULT;1.2;AES256;zenity
|
||||
30343436313536333736376532383966363739346639636236643232616162646463383439333563
|
||||
6236666239393363663336636262376361313936303636390a643236313161393333386161383462
|
||||
62316165303632646335663733666661623230353964326234386633326131366163373638393631
|
||||
3561663138666133350a663432326335303539313362633864663463656262656436633266343261
|
||||
66623239323965393265636265653136663264353334653365376263633537633062353037333438
|
||||
39646465346162326163313436343638336636363135653030303031393963396261313830633064
|
||||
33636437396463643035306436306636363032363537653133353766323164633964346135376162
|
||||
62653135303736376262
|
||||
|
|
@ -192,8 +192,8 @@
|
|||
file: path=~/.wtf state=directory
|
||||
#}}}
|
||||
|
||||
|
||||
- name: Create nextcloud directory
|
||||
tags: [davfs]
|
||||
file:
|
||||
path: /home/adriano/nextcloud
|
||||
state: directory
|
||||
|
|
@ -202,6 +202,7 @@
|
|||
mode: 0775
|
||||
|
||||
- name: Create davfs2 dir
|
||||
tags: [davfs]
|
||||
file:
|
||||
path: /home/adriano/.davfs2
|
||||
state: directory
|
||||
|
|
@ -209,3 +210,19 @@
|
|||
group: adriano
|
||||
mode: 0775
|
||||
|
||||
- name: Add davfs2 secrets # {{{
|
||||
tags: [davfs]
|
||||
copy:
|
||||
src: dotdavfs2secrets
|
||||
dest: /home/adriano/.davfs2/secrets
|
||||
mode: 0600
|
||||
|
||||
- name: Mount nextcloud davfs
|
||||
tags: [davfs]
|
||||
become: true
|
||||
mount:
|
||||
path: /home/adriano/nextcloud
|
||||
src: https://nextcloud.adriano.fyi/remote.php/dav/files/adriano/
|
||||
fstype: davfs
|
||||
opts: user,rw,auto
|
||||
state: present
|
||||
|
|
|
|||
Loading…
Reference in a new issue