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

22 lines
456 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