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 @@
- gnome-terminal
state: present
- name: "Set zsh as default shell for {{users.client.username}}"
- name: "Set zsh as default shell for {{ users[desktop_username].username }}"
user:
name: "{{users.client.username}}"
name: "{{ users[desktop_username].username }}"
shell: /usr/bin/zsh
become: true