Files
kubespray/roles/container-engine/youki/molecule/default/verify.yml
T
Max Gautier 66f8da3f04 CI/molecule: use common vars as well and simplify run (#13520)
The molecule_run.sh isn't really needed since the switch to gitlab-ci
matrix runs.

Also use the inventory variables pattern for kata-containers.
2026-09-17 09:09:23 +00:00

26 lines
612 B
YAML

---
- name: Test youki
hosts: all
gather_facts: false
tasks:
- name: Get kubespray defaults
import_role:
name: ../../../../../kubespray_defaults
- name: Get OS facts (needed for bin_dir resolution)
setup:
gather_subset:
- '!all'
- '!min'
- 'distribution'
- name: Test version
command: "{{ bin_dir }}/youki --version"
register: youki_version
failed_when: >
youki_version is failed or
'youki' not in youki_version.stdout
- name: Test run container
import_playbook: ../../../molecule/test_runtime.yml
vars:
container_runtime: youki