mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-29 22:03:22 -02:30
Fix deprecations that ansible-core 2.23 removes (#13667)
* chore: fix deprecations that ansible-core 2.23 removes * chore: unwrap the templated assert in assert-sorted-checksums.yml
This commit is contained in:
@@ -116,7 +116,7 @@
|
|||||||
# NOTICE: the check blatantly ignores the inet6-case
|
# NOTICE: the check blatantly ignores the inet6-case
|
||||||
- name: Guarantee that enough network address space is available for all pods
|
- name: Guarantee that enough network address space is available for all pods
|
||||||
assert:
|
assert:
|
||||||
that: "{{ (kubelet_max_pods | default(110)) | int <= (2 ** (32 - kube_network_node_prefix | int)) - 2 }}"
|
that: (kubelet_max_pods | default(110)) | int <= (2 ** (32 - kube_network_node_prefix | int)) - 2
|
||||||
msg: "Do not schedule more pods on a node than inet addresses are available."
|
msg: "Do not schedule more pods on a node than inet addresses are available."
|
||||||
when:
|
when:
|
||||||
- not ignore_assert_errors
|
- not ignore_assert_errors
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Check all versions are strings
|
- name: Check all versions are strings
|
||||||
assert:
|
assert:
|
||||||
that: "{{ item.1.value | reject('string') == [] }}"
|
that: "item.1.value | reject('string') == []"
|
||||||
quiet: true
|
quiet: true
|
||||||
loop: "{{ _minimal_data_needed }}"
|
loop: "{{ _minimal_data_needed }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
|
|||||||
@@ -12,5 +12,4 @@ stdout_callback = default
|
|||||||
display_skipped_hosts = no
|
display_skipped_hosts = no
|
||||||
library = ./library:../library
|
library = ./library:../library
|
||||||
callbacks_enabled = profile_tasks
|
callbacks_enabled = profile_tasks
|
||||||
jinja2_extensions = jinja2.ext.do
|
|
||||||
roles_path = ../roles
|
roles_path = ../roles
|
||||||
|
|||||||
Reference in New Issue
Block a user