Commit Graph

3 Commits

Author SHA1 Message Date
871c7a9f7e Fix: Add robust filtering for user home directories
Modified 'roles/tmux/tasks/main.yml' to prevent invalid home
directories from being added to the 'user_home_dirs' list.

Added checks to ensure that the home directory path is defined
and has a length greater than 1, which excludes both empty paths
and the root directory ('/'). This resolves the 'chown failed'
error that occurred when the playbook was run on a system with
users having invalid home directory entries.
2026-02-03 11:45:18 +01:00
a3091080ed Fix: Exclude root user from tmux configuration
Modified 'roles/tmux/tasks/main.yml' to ensure that the tmux configuration
is not applied to the root user's home directory. This was achieved by
adding a condition to exclude the 'root' user when generating the list
of user home directories.
2026-02-03 11:42:21 +01:00
facb4708e2 added tmux and all 2026-01-05 15:48:01 +01:00