Fix a bunch of failed quality rules (#6646)

This commit is contained in:
Florian Ruynat
2020-09-10 12:45:54 +02:00
committed by GitHub
parent ae5328c500
commit 05ff4a527d
4 changed files with 22 additions and 20 deletions

View File

@@ -15,8 +15,8 @@
- import_role:
name: cluster-dump
- name: Check kubectl output # noqa 305
shell: "{{ bin_dir }}/kubectl get nodes"
- name: Check kubectl output
command: "{{ bin_dir }}/kubectl get nodes"
changed_when: false
register: get_nodes
no_log: true
@@ -24,8 +24,8 @@
- debug:
msg: "{{ get_nodes.stdout.split('\n') }}"
- name: Check that all nodes are running and ready # noqa 305
shell: "{{ bin_dir }}/kubectl get nodes --no-headers -o yaml"
- name: Check that all nodes are running and ready
command: "{{ bin_dir }}/kubectl get nodes --no-headers -o yaml"
changed_when: false
register: get_nodes_yaml
until: