mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
project: fix var-spacing ansible rule (#10266)
* project: fix var-spacing ansible rule Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix spacing on the beginning/end of jinja template Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix spacing of default filter Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix spacing between filter arguments Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix double space at beginning/end of jinja Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix remaining jinja[spacing] ansible-lint warning Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
This commit is contained in:
committed by
GitHub
parent
f8b93fa88a
commit
5d00b851ce
@@ -1,12 +1,12 @@
|
||||
---
|
||||
- name: wait for cilium
|
||||
when:
|
||||
- needs_cordoning|default(false)
|
||||
- needs_cordoning | default(false)
|
||||
- kube_network_plugin == 'cilium'
|
||||
command: >
|
||||
{{ kubectl }}
|
||||
wait pod -n kube-system -l k8s-app=cilium
|
||||
--field-selector 'spec.nodeName=={{ kube_override_hostname|default(inventory_hostname) }}'
|
||||
--field-selector 'spec.nodeName=={{ kube_override_hostname | default(inventory_hostname) }}'
|
||||
--for=condition=Ready
|
||||
--timeout={{ upgrade_post_cilium_wait_timeout }}
|
||||
delegate_to: "{{ groups['kube_control_plane'][0] }}"
|
||||
@@ -26,7 +26,7 @@
|
||||
- upgrade_node_post_upgrade_pause_seconds != 0
|
||||
|
||||
- name: Uncordon node
|
||||
command: "{{ kubectl }} uncordon {{ kube_override_hostname|default(inventory_hostname) }}"
|
||||
command: "{{ kubectl }} uncordon {{ kube_override_hostname | default(inventory_hostname) }}"
|
||||
delegate_to: "{{ groups['kube_control_plane'][0] }}"
|
||||
when:
|
||||
- needs_cordoning|default(false)
|
||||
- needs_cordoning | default(false)
|
||||
|
||||
Reference in New Issue
Block a user