mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-19 23:07:47 -02:30
Add noqa and disable .ansible-lint global exclusions (#6410)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
- import_role:
|
||||
name: cluster-dump
|
||||
|
||||
- name: Check kubectl output
|
||||
- name: Check kubectl output # noqa 301 305
|
||||
shell: "{{ bin_dir }}/kubectl get pods --all-namespaces -owide"
|
||||
register: get_pods
|
||||
no_log: true
|
||||
@@ -23,7 +23,7 @@
|
||||
- debug:
|
||||
msg: "{{ get_pods.stdout.split('\n') }}"
|
||||
|
||||
- name: Check that all pods are running and ready
|
||||
- name: Check that all pods are running and ready # noqa 301 305
|
||||
shell: "{{ bin_dir }}/kubectl get pods --all-namespaces --no-headers -o yaml"
|
||||
register: run_pods_log
|
||||
until:
|
||||
@@ -36,7 +36,7 @@
|
||||
failed_when: false
|
||||
no_log: true
|
||||
|
||||
- name: Check kubectl output
|
||||
- name: Check kubectl output # noqa 301 305
|
||||
shell: "{{ bin_dir }}/kubectl get pods --all-namespaces -owide"
|
||||
register: get_pods
|
||||
no_log: true
|
||||
|
||||
Reference in New Issue
Block a user