mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Added variable desktop_username to identify the user on a single user pc workstation
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
ansible.builtin.file:
|
||||
src: "{{nextcloud_cloud_directory}}{{item}}"
|
||||
dest: "{{nextcloud_user_home_directory}}{{item}}"
|
||||
owner: "{{users.client.username}}"
|
||||
group: "{{users.client.username}}"
|
||||
owner: "{{ users[desktop_username].username }}"
|
||||
group: "{{ users[desktop_username].username }}"
|
||||
state: link
|
||||
force: yes
|
||||
ignore_errors: true # Just temporary @todo remove
|
||||
@@ -29,6 +29,6 @@
|
||||
ansible.builtin.file:
|
||||
src: "{{nextcloud_cloud_directory}}InstantUpload"
|
||||
dest: "{{nextcloud_user_home_directory}}Dump"
|
||||
owner: "{{users.client.username}}"
|
||||
group: "{{users.client.username}}"
|
||||
owner: "{{ users[desktop_username].username }}"
|
||||
group: "{{ users[desktop_username].username }}"
|
||||
state: link
|
Reference in New Issue
Block a user