computer-playbook/roles/native-nextcloud-client/tasks/main.yml

20 lines
425 B
YAML
Raw Normal View History

2021-11-14 14:13:18 +01:00
- 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