mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
When running CI tests, test performance can be improved by creating a snapshot image to use for the test, pre-installed with packages used by the role tests. The CI system can use tests/setup-snapshot.yml to prepare the snapshot image. Rather than having a list of packages to install in multiple places, the code which ensures the facts and variables is moved to a separate tasks/set_facts.yml so that the setup playbook can use `tasks_from: set_facts.yml` to get the list of network packages to install. NOTE: The network role developers should add additional packages to setup-snapshot.yml for other packages installed by other tests. Signed-off-by: Rich Megginson <rmeggins@redhat.com> |
||
|---|---|---|
| .. | ||
| main.yml | ||
| set_facts.yml | ||