mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-24 17:17:47 -02:30
Fix ansible-lint E305 (#6459)
This commit is contained in:
@@ -63,8 +63,8 @@
|
||||
- pull_required or download_run_once
|
||||
- not image_is_cached
|
||||
|
||||
- name: download_container | Save and compress image # noqa 305
|
||||
shell: "{{ image_save_command_on_localhost if download_localhost else image_save_command }}"
|
||||
- name: download_container | Save and compress image
|
||||
shell: "{{ image_save_command_on_localhost if download_localhost else image_save_command }}" # noqa 305 image_save_command_on_localhost contains a pipe, therefore requires shell
|
||||
delegate_to: "{{ download_delegate }}"
|
||||
delegate_facts: no
|
||||
register: container_save_status
|
||||
@@ -103,8 +103,8 @@
|
||||
- pull_required
|
||||
- download_force_cache
|
||||
|
||||
- name: download_container | Load image into docker # noqa 305
|
||||
shell: "{{ image_load_command }}"
|
||||
- name: download_container | Load image into docker
|
||||
shell: "{{ image_load_command }}" # noqa 305 image_load_command uses pipes, therefore requires shell
|
||||
register: container_load_status
|
||||
failed_when: container_load_status is failed
|
||||
when:
|
||||
|
||||
Reference in New Issue
Block a user