ansible-lint: add names to blocks/includes, etc.

This adds names to blocks and includes for consistency.  We've done
this before (e.g. Ia7e490aaba99da9694a6f3fdb1bca9838221b30a) but I
guess 6.12.0 is finding more...

Change-Id: Ib451f6d3c5a18047873e63aa0a1aa2b425846fec
This commit is contained in:
Ian Wienand
2023-02-02 13:22:56 +11:00
parent 7a66a26b77
commit 58a8d1a119
14 changed files with 66 additions and 33 deletions

View File

@@ -41,7 +41,8 @@
zuul: "{{ new_zuul }}"
docker_images: "{{ multiarch | ternary(_arch_docker_images, _normal_docker_images) }}"
- include_role:
- name: "Upload container image"
include_role:
name: "upload-{{ (container_command == 'docker') | ternary('docker', 'container') }}-image"
vars:
zuul: "{{ new_zuul }}"