Add 'client-playbook/' from commit '13f29ce5f74bba0376e04189e757cb9718cf2f93'

git-subtree-dir: client-playbook
git-subtree-mainline: e763d135707241dc1eb8ec9ea919550b3f17fef6
git-subtree-split: 13f29ce5f74bba0376e04189e757cb9718cf2f93
This commit is contained in:
2023-04-18 14:42:10 +02:00
75 changed files with 1320 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
- 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