mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-25 01:27:47 -02:30
Fix ansible-lint E305 (#6459)
This commit is contained in:
@@ -32,8 +32,8 @@
|
||||
- localhost
|
||||
- asserts
|
||||
|
||||
- name: prep_download | On localhost, check if user has access to docker without using sudo # noqa 305
|
||||
shell: "{{ image_info_command_on_localhost }}"
|
||||
- name: prep_download | On localhost, check if user has access to docker without using sudo
|
||||
shell: "{{ image_info_command_on_localhost }}" # noqa 305 image_info_command_on_localhost contains pipe, therefore requires shell
|
||||
delegate_to: localhost
|
||||
connection: local
|
||||
run_once: true
|
||||
@@ -68,8 +68,8 @@
|
||||
- localhost
|
||||
- asserts
|
||||
|
||||
- name: prep_download | Register docker images info # noqa 305
|
||||
shell: "{{ image_info_command }}"
|
||||
- name: prep_download | Register docker images info
|
||||
shell: "{{ image_info_command }}" # noqa 305 image_info_command contains pipe therefore requires shell
|
||||
no_log: true
|
||||
register: docker_images
|
||||
failed_when: false
|
||||
|
||||
Reference in New Issue
Block a user