refactored role names

This commit is contained in:
2022-08-19 22:26:04 +02:00
parent 7b5d1de5c1
commit a58f85a4f5
3 changed files with 3 additions and 3 deletions

View File

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

View File

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