Parse meta/main.yml
A possibility to run selective platform based plays would be to
- parse the meta/main.yml file
- write artifacts
- check for files in artifacts in .gitlab-ci.yml rules e.g. .ci/Debian-bookworm
yq -r '.galaxy_info.platforms[] | select(.name == "Debian") | .versions[]' meta/main.yml
bookworm
trixie