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
@@ -76,5 +76,5 @@ It does not test `ifreload`, so no Debian release or `ifupdown2` version is veri
|
||||
- On change the order is: copy the current file to `network_interfaces_backup`, write the new file (notifies `Reload Interfaces`), run the validate command, flush handlers. Any failure in that block restores the backup and fails with "Invalid network configuration detected. Previous config restored." The restore does not reload the interfaces.
|
||||
- The validate command runs after the file is written, and the reload runs right after it. A configuration that passes validation but breaks connectivity is not detected.
|
||||
- With `method: static`, `address` and `netmask` are required by the template.
|
||||
- Check mode: under `--check` the new file is not written, so the validate command and the reload are skipped; the preview shows whether the file would change, not whether it is valid.
|
||||
- Check mode: `--check` is the supported preview; a play-level `check_mode: true` is not supported. Under `--check` the new file is not written, so the validate command and the reload are skipped; the preview shows whether the file would change, not whether it is valid.
|
||||
- `no_log` is not used: the role handles no secrets.
|
||||
Reference in new issue
Block a user