Merge branch 'main' of github.com:kevinveenbirkenbach/client-playbook

This commit is contained in:
Kevin Veen-Birkenbach 2021-12-08 12:59:08 +01:00
commit 130a948790
5 changed files with 18 additions and 1 deletions

View File

@ -13,7 +13,7 @@
hosts: torbrowser_hosts
become: true
roles:
- torbrowser-games
- native-torbrowser
- name: setup libreoffice hosts
hosts: libreoffice_hosts
become: true

View File

@ -2,3 +2,18 @@
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

View File

@ -0,0 +1,2 @@
user_home_directory: "/home/{{client_username}}/"
cloud_directory: "{{user_home_directory}}Clouds/{{cloud_fqdn}}/"