mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
* Update ansible-lint to 5.4.0 (#8607) It seems that the Rich version 11.0.0 has a breaking change. So need to update ansible-lint to 5.3.2 or later. * Fix for ansible-lint no-changed-when rule (#8607)
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
- name: Cordon node
|
||||
command: "{{ kubectl }} cordon {{ kube_override_hostname|default(inventory_hostname) }}"
|
||||
delegate_to: "{{ groups['kube_control_plane'][0] }}"
|
||||
changed_when: true
|
||||
|
||||
- name: Check kubectl version
|
||||
command: "{{ kubectl }} version --client --short"
|
||||
@@ -110,6 +111,7 @@
|
||||
until: drain_fallback_result.rc == 0
|
||||
retries: "{{ drain_fallback_retries }}"
|
||||
delay: "{{ drain_fallback_retry_delay_seconds }}"
|
||||
changed_when: drain_fallback_result.rc == 0
|
||||
when:
|
||||
- drain_nodes
|
||||
- drain_fallback_enabled
|
||||
|
||||
Reference in New Issue
Block a user