mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 05:45:06 +03:00
ansible-lint: Don’t compare to literal True/False (#4499)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
d4b9f15c0a
commit
37eac010c8
@@ -18,7 +18,7 @@
|
||||
with_dict:
|
||||
- "{{ images }}"
|
||||
when:
|
||||
- item.value.converted|bool != true
|
||||
- not (item.value.converted|bool)
|
||||
register: converted
|
||||
|
||||
- name: Make sure all images are ending with qcow2
|
||||
@@ -26,7 +26,7 @@
|
||||
with_dict:
|
||||
- "{{ images }}"
|
||||
when:
|
||||
- item.value.converted|bool == true
|
||||
- item.value.converted|bool
|
||||
|
||||
- name: Resize images
|
||||
command: qemu-img resize {{ images_dir }}/{{ item.key }}.qcow2 +8G
|
||||
|
||||
Reference in New Issue
Block a user