mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
* scripts/lint/autoformat.sh: rename AUTOFORMAT_PARALLEL to PARALLEL, declare it at file start with default `true`; still env-overridable. Reword the worker comment so the literal `# shellcheck` token no longer appears at start-of-line and trips SC1072/SC1073. * scripts/lint/galaxy.sh: drop the GALAXY_FATAL / GALAXY_NAMESPACE / GALAXY_PARALLEL env vars (over-engineered for a single repo). Failure is always fatal. NAMESPACE is an internal constant. Add the same PARALLEL env var (default `true`, env-overridable); falsy demotes the xargs fan-out to one worker. * docs/contributing/environment/variables.md: collapse the four AUTOFORMAT_*/GALAXY_* rows into one `PARALLEL` row covering both consumers. * docs/contributing/tools/make.md: refer to `PARALLEL=0` everywhere; add the lint-galaxy parallelism note. Plus working-tree drift across roles/, group_vars/, inventories/, and tasks/ that accumulated from the make-test setup phase regenerating generated artefacts during recent test runs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
13 lines
470 B
YAML
13 lines
470 B
YAML
---
|
|
# Effective user config for this role invocation.
|
|
user_config_effective: "{{ user_config | default(lookup('users', user_key, {})) }}"
|
|
|
|
# Actual system username (can differ from key)
|
|
user_username: "{{ user_config_effective.username | default(user_key) }}"
|
|
|
|
# Primary group (convention: same as username)
|
|
user_group: "{{ user_username }}"
|
|
|
|
# Home directory (root special case)
|
|
user_home: "{{ (user_username == 'root') | ternary('/root', '/home/' ~ user_username) }}"
|