2021-11-14 14:13:18 +01:00
|
|
|
- name: Install nextcloud-client
|
|
|
|
community.general.pacman:
|
|
|
|
name: nextcloud-client
|
|
|
|
state: present
|
2021-11-17 17:35:54 +01:00
|
|
|
|
|
|
|
- name: Link homefolders to cloud
|
|
|
|
ansible.builtin.file:
|
|
|
|
src: "{{cloud_directory}}{{item}}"
|
|
|
|
dest: "{{user_home_directory}}{{item}}"
|
|
|
|
owner: "{{client_username}}"
|
|
|
|
group: "{{client_username}}"
|
|
|
|
state: link
|
|
|
|
loop:
|
|
|
|
- Templates
|
|
|
|
- Documents
|
|
|
|
- Videos
|
|
|
|
- Pictures
|
|
|
|
- Music
|
|
|
|
- Desktop
|
2022-08-17 13:21:50 +02:00
|
|
|
- Software
|
|
|
|
- Downloads
|
2022-12-10 22:41:38 +01:00
|
|
|
- Workspaces
|
2023-03-24 12:24:39 +01:00
|
|
|
- Books
|
2023-03-24 10:18:07 +01:00
|
|
|
|
|
|
|
- name: Link dump folder
|
|
|
|
ansible.builtin.file:
|
|
|
|
src: "{{cloud_directory}}InstantUpload"
|
|
|
|
dest: "{{user_home_directory}}Dump"
|
|
|
|
owner: "{{client_username}}"
|
|
|
|
group: "{{client_username}}"
|
|
|
|
state: link
|