fix(roles): apply review findings to the check-mode change
Build / build (pull_request) Successful in 25s
Lint / lint (pull_request) Successful in 2m13s
Molecule / molecule (pull_request) Failing after 34m3s

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:
Defame1297 committed 2026-11-26 11:11:19 +00:00
1 parent cf2286b7a7
commit 3afff00b9b
8 files changed
+17 -7

No files matched your search

@@ -395,6 +395,10 @@ class ScenarioPlatformsTest(unittest.TestCase):
seen[name] = where
self.assertNotIn("destroy", data["scenario"]["test_sequence"], path)
class ScenarioSequenceTest(unittest.TestCase):
"""A role scenario previews the fresh host and the configured host with molecule's check step."""
def test_role_scenarios_run_check_before_and_after_converge(self):
# A check-only scenario has no converge to surround, so it is not held to this.
files = sorted(REPO.glob("roles/*/molecule/*/molecule.yml"))