Commit Graph
26 Commits
Author SHA1 Message Date
volker.raschekandCopilot 68be6c5cdf fix(tasks): repair the never executed skel file copy
The task guarded itself with `_skel_file.stat.exist`, but the stat module returns `exists`. The `is defined` check on the
misspelled attribute therefore always evaluated to false and the whole task was silently skipped, so no skel file was
ever copied into a home directory.

Two further defects surfaced once the guard was corrected. The source path interpolated the registered result dict
`_skel_file` instead of the loop variable `skel_file`, and the copy module read from the control node because
`remote_src` was missing, so `/etc/skel` of the managed host was never consulted.

The stat now probes the source instead of the destination. Distributions ship different skel files, for example Debian
has no `.bash_profile`, and copying a non existing remote source would abort the run. The "only copy when absent"
behaviour is delegated to `force: false`, which the copy module implements natively. The register variable is prefixed
with the role name so it can no longer be confused with the loop variable. The mode is corrected to 0644, the mode
`/etc/skel` uses for its dotfiles.

Co-authored-by: Copilot <copilot@github.com>
2026-09-09 21:39:42 +02:00
volker.raschek e4c12b9856 fix: set btrfs device
Ansible Linter / ansible-lint (push) Successful in 24s
Lint Markdown files / markdown-lint (push) Successful in 4s
2025-11-22 23:42:42 +01:00
volker.raschek 22048124fd refac: use .yaml instead of .yml extension
Ansible Linter / ansible-lint (push) Successful in 24s
Lint Markdown files / markdown-lint (push) Successful in 4s
2025-10-25 12:38:00 +02:00
volker.raschek 9a3dbcfa86 feat(netrc): init
Ansible Linter / ansible-lint (push) Successful in 55s
Lint Markdown files / markdown-lint (push) Successful in 12s
2025-06-27 20:39:09 +02:00
volker.raschek 9bdd0cf8ff fix: adapt condition 2024-04-02 10:59:07 +02:00
volker.raschek d9bc119e63 fix: skip when shell_rc files is not defined
continuous-integration/drone/push Build is passing
2024-03-05 22:12:30 +01:00
volker.raschek 804eb02075 fix: suppoer relative and absolute paths
continuous-integration/drone/push Build is passing
2024-03-02 22:32:44 +01:00
volker.raschek 5907f1617a feat: support bashrc aliases, envs and functions
continuous-integration/drone/push Build is passing
2024-03-02 19:20:28 +01:00
volker.raschek 75fea198c2 fix: condition
continuous-integration/drone/push Build is passing
2024-02-03 16:46:23 +01:00
volker.raschek 0674c7d13e fix: copy only missing skel files
continuous-integration/drone/push Build is passing
2023-12-23 17:38:08 +01:00
volker.raschek df6d4d206e fix: add file permissions
continuous-integration/drone/push Build is passing
2023-12-23 16:34:01 +01:00
volker.raschek 1d1916ed29 fix: adjust btrfs subvol permissions
continuous-integration/drone/push Build is passing
2023-12-15 22:46:31 +01:00
volker.raschek 637f57f81f fix: create XDG base directories
continuous-integration/drone/push Build is passing
2023-12-01 21:52:56 +01:00
volker.raschek 409466869a fix: support btrfs subvolume for unix user's home dir
continuous-integration/drone/push Build is passing
2023-11-24 10:31:26 +01:00
volker.raschek e24515d232 feat: support btrfs subvolume for unix user's home dir
continuous-integration/drone/push Build is passing
2023-11-21 19:37:39 +01:00
volker.raschek 114ec2aed3 style(lint): quote mode
continuous-integration/drone/push Build is passing
2023-02-26 22:18:28 +01:00
volker.raschek 4fb52a7127 fix: lock unix users
continuous-integration/drone/push Build is passing
2023-02-15 21:41:11 +01:00
volker.raschek 0a03f2e74e fix: loack unix user correctly
continuous-integration/drone/push Build is passing
2023-02-15 14:30:20 +01:00
volker.raschek cc71ada59d fix: hide sensitive information in log output
continuous-integration/drone/push Build is passing
2023-02-15 14:25:49 +01:00
volker.raschek 9f36a69078 style(unix_users): name of tasks, use built in module
continuous-integration/drone/push Build was killed
2023-02-12 15:08:40 +01:00
volker.raschek 9f43029353 fix: add linter 2023-02-08 18:25:07 +01:00
volker.raschek f32755f7d4 fix: extract public ssh key
continuous-integration/drone/push Build is passing
2022-07-20 15:52:27 +02:00
volker.raschek 26e57d7b6f fix: config ssh client config
continuous-integration/drone/push Build is passing
2022-07-19 17:54:56 +02:00
volker.raschek adf404bf25 fix: adapt condition
continuous-integration/drone/push Build is passing
2022-05-09 11:33:04 +02:00
volker.raschek 05c7df5693 fix: create users und groups only if defined
continuous-integration/drone/push Build is passing
2022-05-09 11:02:35 +02:00
volker.raschek 35890645a6 Initial Commit 2022-05-09 10:17:07 +02:00