mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-17 07:46:05 +02:00
Add 'client-playbook/' from commit '13f29ce5f74bba0376e04189e757cb9718cf2f93'
git-subtree-dir: client-playbook git-subtree-mainline: e763d135707241dc1eb8ec9ea919550b3f17fef6 git-subtree-split: 13f29ce5f74bba0376e04189e757cb9718cf2f93
This commit is contained in:
31
client-playbook/roles/application-nextcloud/tasks/main.yml
Normal file
31
client-playbook/roles/application-nextcloud/tasks/main.yml
Normal 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
|
Reference in New Issue
Block a user