Fix yamllint issues
What does this MR do?
Fixes issues uncovered by yamllint
.
Why was this MR needed?
So that !2246 (closed) passes the CI build.
What's the best way to test this MR?
What are the relevant issue numbers?
Part of #26478
Edited by Pedro Pombeiro