mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-07-07 22:38:09 -02:30
ansible-lint: add spaces around variables [E206] (#4699)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
560f50d3cd
commit
e67f848abc
@@ -12,14 +12,14 @@
|
||||
when: not ansible_os_family in ["CoreOS", "Container Linux by CoreOS"]
|
||||
|
||||
- name: Check kubectl output
|
||||
shell: "{{bin_dir}}/kubectl get pods --all-namespaces -owide"
|
||||
shell: "{{ bin_dir }}/kubectl get pods --all-namespaces -owide"
|
||||
register: get_pods
|
||||
no_log: true
|
||||
|
||||
- debug: msg="{{get_pods.stdout.split('\n')}}"
|
||||
- debug: msg="{{ get_pods.stdout.split('\n') }}"
|
||||
|
||||
- name: Check that all pods are running and ready
|
||||
shell: "{{bin_dir}}/kubectl get pods --all-namespaces --no-headers -o yaml"
|
||||
shell: "{{ bin_dir }}/kubectl get pods --all-namespaces --no-headers -o yaml"
|
||||
register: run_pods_log
|
||||
until:
|
||||
# Check that all pods are running
|
||||
@@ -32,9 +32,9 @@
|
||||
no_log: true
|
||||
|
||||
- name: Check kubectl output
|
||||
shell: "{{bin_dir}}/kubectl get pods --all-namespaces -owide"
|
||||
shell: "{{ bin_dir }}/kubectl get pods --all-namespaces -owide"
|
||||
register: get_pods
|
||||
no_log: true
|
||||
|
||||
- debug: msg="{{get_pods.stdout.split('\n')}}"
|
||||
- debug: msg="{{ get_pods.stdout.split('\n') }}"
|
||||
failed_when: not run_pods_log is success
|
||||
|
||||
Reference in New Issue
Block a user