mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-01 01:28:11 -03:30
Add noqa and disable .ansible-lint global exclusions (#6410)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: cordon-node | Mark all nodes as unschedulable before drain
|
||||
- name: cordon-node | Mark all nodes as unschedulable before drain # noqa 301
|
||||
command: >-
|
||||
{{ bin_dir }}/kubectl cordon {{ hostvars[item]['kube_override_hostname']|default(item) }}
|
||||
with_items:
|
||||
@@ -9,7 +9,7 @@
|
||||
run_once: true
|
||||
ignore_errors: yes
|
||||
|
||||
- name: remove-node | Drain node except daemonsets resource
|
||||
- name: remove-node | Drain node except daemonsets resource # noqa 301
|
||||
command: >-
|
||||
{{ bin_dir }}/kubectl --kubeconfig /etc/kubernetes/admin.conf drain
|
||||
--force
|
||||
|
||||
Reference in New Issue
Block a user