mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-24 21:51:03 +01:00
31 lines
700 B
YAML
31 lines
700 B
YAML
- name: Install nextcloud-client
|
|
community.general.pacman:
|
|
name: nextcloud-client
|
|
state: present
|
|
|
|
- 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
|
|
- Software
|
|
- Downloads
|
|
- Workspaces
|
|
- Books
|
|
|
|
- name: Link dump folder
|
|
ansible.builtin.file:
|
|
src: "{{cloud_directory}}InstantUpload"
|
|
dest: "{{user_home_directory}}Dump"
|
|
owner: "{{client_username}}"
|
|
group: "{{client_username}}"
|
|
state: link |