The documented output system_baseline_reboot_required keeps its name. Nothing outside these two tasks used the old names. A trivial fragment records it.
Verified
grep over the repository finds no other use of the old names, and every other register and set_fact in the role's tasks already has the prefix.
pre-commit run --all-files passes, and ansible-test sanity passed on push.
Not verified
The scenario on a container: this PR's Molecule run checks it.
Other roles still have unprefixed registers: 49 across gitea_runner, gitea, ufw, traefik, user_management, fail2ban, network_interfaces and docker. This PR does not touch them.
I confirm third-party material is recorded in NOTICE and REUSE.toml, or there is none.
Assisted-by: Claude Code
## What and why
No issue: a naming fix found while working on #456.
`roles/AGENTS.md` names a role's internal `register` and `set_fact` results `__<role>_`. Two in `system_baseline`'s tasks did not follow it:
- `system_baseline_unattended_check` → `__system_baseline_unattended_check` (`tasks/unattended_upgrades.yml`)
- `system_baseline_reboot_required_file` → `__system_baseline_reboot_required_file` (`tasks/reboot.yml`)
The documented output `system_baseline_reboot_required` keeps its name. Nothing outside these two tasks used the old names. A `trivial` fragment records it.
## Verified
- `grep` over the repository finds no other use of the old names, and every other register and `set_fact` in the role's tasks already has the prefix.
- `pre-commit run --all-files` passes, and `ansible-test sanity` passed on push.
## Not verified
- The scenario on a container: this PR's Molecule run checks it.
- Other roles still have unprefixed registers: 49 across `gitea_runner`, `gitea`, `ufw`, `traefik`, `user_management`, `fail2ban`, `network_interfaces` and `docker`. This PR does not touch them.
---
- [x] I confirm third-party material is recorded in `NOTICE` and `REUSE.toml`, or there is none.
Assisted-by: Claude Code
The unattended-upgrades check and the reboot-required stat registered results under
names that read as role inputs. Internal register and set_fact results are
__system_baseline_; the documented system_baseline_reboot_required output keeps its name.
Assisted-by: Claude Code
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What and why
No issue: a naming fix found while working on #456.
roles/AGENTS.mdnames a role's internalregisterandset_factresults__<role>_. Two insystem_baseline's tasks did not follow it:system_baseline_unattended_check→__system_baseline_unattended_check(tasks/unattended_upgrades.yml)system_baseline_reboot_required_file→__system_baseline_reboot_required_file(tasks/reboot.yml)The documented output
system_baseline_reboot_requiredkeeps its name. Nothing outside these two tasks used the old names. Atrivialfragment records it.Verified
grepover the repository finds no other use of the old names, and every other register andset_factin the role's tasks already has the prefix.pre-commit run --all-filespasses, andansible-test sanitypassed on push.Not verified
gitea_runner,gitea,ufw,traefik,user_management,fail2ban,network_interfacesanddocker. This PR does not touch them.NOTICEandREUSE.toml, or there is none.Assisted-by: Claude Code