ci: share a Molecule base config with prerun off and smart gathering
Add .config/molecule/config.yml, which molecule merges under every scenario's molecule.yml. prerun is off: the CI wrapper already puts the checkout first on ANSIBLE_COLLECTIONS_PATH, so molecule's per-scenario reinstall of mortis.kamino into ANSIBLE_HOME is redundant. gathering is smart, so each host's facts are gathered once per playbook run instead of in every play. Add .config to build_ignore so scripts/check_tarball.py does not fail the build, and reword the Molecule rule and the two script comments that said molecule installs the collection into each scenario's ANSIBLE_HOME. Assisted-by: Claude Code:claude-opus-5-5
This commit is contained in:
1 parent
6e3ea4521b
commit
7d11d23294
5 files changed
+18
-6
No files matched your search
@@ -0,0 +1,9 @@
|
||||
---
|
||||
# Merged under every scenario's molecule.yml. prerun off: the CI wrapper puts this checkout
|
||||
# first on ANSIBLE_COLLECTIONS_PATH, so molecule's per-scenario install is unused.
|
||||
prerun: false
|
||||
provisioner:
|
||||
config_options:
|
||||
defaults:
|
||||
# Gather each host's facts once per playbook run, not in every play.
|
||||
gathering: smart
|
||||
Reference in new issue
Block a user