Added variable desktop_username to identify the user on a single user pc workstation

This commit is contained in:
2025-07-17 16:10:39 +02:00
parent 9a8ef5e047
commit 6d4b7227ce
6 changed files with 13 additions and 13 deletions

View File

@@ -5,8 +5,8 @@
- docker-compose
state: present
- name: Adding user {{users.client.username}} to relevant docker usergroup
- name: "Adding user {{ users[desktop_username].username }} to relevant docker usergroup"
user:
name: "{{users.client.username}}"
name: "{{ users[desktop_username].username }}"
groups: docker
append: yes