docs(contributing): correct the no-scenario note #38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/contributing-untested-roles"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The Molecule section of CONTRIBUTING said "A role with no tasks needs no
scenario, and os-updates and sysadmin-tools have none", which reads as if
those two roles have no tasks. They do: os-updates upgrades every package
and can reboot, and sysadmin-tools sets the hostname. The roles with no
tasks are the ones that only ship a port file.
What changed
The sentence now says a role with no tasks, such as one that only ships a
port file, needs no scenario, and that os-updates and sysadmin-tools have
tasks and no scenario, so their tasks first run on the first host of a
live batch. Whether to give them scenarios is left open.
Verification
make checkgreen.make testnot run (no podman); the change isdocs-only.