[release-2.31] Fix pre-commit ansible-core 2.18 (#13292)

* Fix pre-commit ansible-core 2.18

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>

* Fix duplicated task name "Test version"

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>

---------

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
This commit is contained in:
ChengHao Yang
2026-06-06 00:16:06 +08:00
committed by GitHub
parent 3df67eb089
commit 1863bfd3a7
2 changed files with 4 additions and 3 deletions
@@ -9,7 +9,7 @@
failed_when: >
version is failed or
'kata-runtime' not in version.stdout
- name: Test version
- name: Test version check
command: "/opt/kata/bin/kata-runtime check"
register: check
failed_when: >