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
@@ -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"))
|
||||
|
||||
Reference in new issue
Block a user