docs(roles): name the test that fails a meta dependency
test_roles_call_each_other_by_full_name_only in tests/scripts/test_select_molecule_scenarios.py already fails when a role's meta/main.yml declares dependencies, and Lint runs it through the script-tests hook. That test is the Lint check the rule waited for, so the rule now names it as its control, and the workflow rules and the selector's docstring no longer describe a meta dependency as allowed. Refs: #246 Assisted-by: Claude Code
This commit is contained in:
1 parent
fac7ed47be
commit
6432eb52b0
3 files changed
+11
-6
No files matched your search
@@ -115,9 +115,11 @@ issue.
|
||||
scenario for any other file, `requirements-molecule.*` included; `requirements-dev.*`, and
|
||||
`lint.yml` and `build.yml` with their `ci` pins, are on IGNORED. *Why:* a full run takes the
|
||||
single runner slot for a long time. *Held:* control: the selector and its tests.
|
||||
- **A role named in an include, import, play `roles:` entry or meta dependency is written out in
|
||||
full**, never bare or templated. *Why:* the selector finds dependent roles by their FQCN.
|
||||
*Held:* control: a selector test fails a bare or templated name.
|
||||
- **A role named in an include, import or play `roles:` entry is written out in full**, never
|
||||
bare or templated, and no role declares `meta/main.yml` `dependencies`
|
||||
([roles/AGENTS.md](../../roles/AGENTS.md)). *Why:* the selector finds dependent roles by their
|
||||
FQCN. *Held:* control: a selector test fails a bare or templated name and a non-empty
|
||||
`dependencies`.
|
||||
- **Scenarios load `mortis.kamino` from the checkout, never from an installed copy, so
|
||||
`galaxy.yml` is on IGNORED.** *Why:* the checkout is first on `ANSIBLE_COLLECTIONS_PATH` and the
|
||||
shared base config `.config/molecule/config.yml` turns off molecule's install of the collection
|
||||
|
||||
Reference in new issue
Block a user