fix(roles): apply review findings to the check-mode change
Guard gitea_runner's docker group membership like its Docker start, run user_management's getent probe unconditionally, and state the play-level check_mode limit in every touched README. The check-mode rule now allows the pihole guard form and names roles whose --check needs their package installed. Assisted-by: Claude Code
This commit is contained in:
1 parent
cf2286b7a7
commit
3afff00b9b
8 files changed
+17
-7
No files matched your search
+1
-1
@@ -156,5 +156,5 @@ Not covered: `ufw_before_rules` entries and `ufw_sysctl_overrides` are never set
|
||||
- Rule schema is asserted before anything changes: `rule` must be allow, deny, reject or limit, `port` a positive integer, `proto` tcp or udp, and each rule needs `port`, `from`, `to` or `interface`.
|
||||
- UFW is only re-enabled when `ufw status verbose` shows it inactive or the logging line differs, because the module rewrites rules and re-applies sysctl on every call.
|
||||
- The `Reload UFW` handler runs `ufw reload`.
|
||||
- Check mode: `--check` previews a host where ufw is already installed. On a host without ufw it fails at the default policy tasks: the package is not installed under `--check`, and the module needs the `ufw` binary.
|
||||
- Check mode: `--check` previews a host where ufw is already installed; a play-level `check_mode: true` is not supported. On a host without ufw it fails at the default policy tasks: the package is not installed under `--check`, and the module needs the `ufw` binary.
|
||||
- `no_log` is not used: the role handles no secrets.
|
||||
Reference in new issue
Block a user