mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-06-05 19:17:59 +00:00
[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:
@@ -33,6 +33,7 @@ repos:
|
||||
hooks:
|
||||
- id: ansible-lint
|
||||
additional_dependencies:
|
||||
- ansible-core>=2.18.0,<2.19.0
|
||||
- jmespath==1.0.1
|
||||
- netaddr==1.3.0
|
||||
- distlib
|
||||
@@ -49,7 +50,7 @@ repos:
|
||||
name: Build and install kubernetes-sigs.kubespray Ansible collection
|
||||
language: python
|
||||
additional_dependencies:
|
||||
- ansible-core>=2.16.4
|
||||
- ansible-core>=2.18.0,<2.19.0
|
||||
- distlib
|
||||
entry: tests/scripts/collection-build-install.sh
|
||||
pass_filenames: false
|
||||
@@ -91,7 +92,7 @@ repos:
|
||||
name: Update static files referencing default kubespray values
|
||||
language: python
|
||||
additional_dependencies:
|
||||
- ansible-core>=2.16.4
|
||||
- ansible-core>=2.18.0,<2.19.0
|
||||
entry: scripts/propagate_ansible_variables.yml
|
||||
pass_filenames: false
|
||||
|
||||
|
||||
@@ -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: >
|
||||
|
||||
Reference in New Issue
Block a user