key-order
rule does not work at the play level for name
key
#3787
Labels
key-order
rule does not work at the play level for name
key
#3787
Summary
As per the documentation of key-order rule, key
name
must always be the first key for plays, tasks and handlers. Which doesn't seem to work for a given scenario:Issue Type
STEPS TO REPRODUCE
For the above playbook we should get a
key-order
rule violation at line 2, as name should be the first key (instead of hosts).Actual Behavior
There is no error for key-order rule while running ansible-lint on this playbook.
The text was updated successfully, but these errors were encountered: