ansible-galaxy collection init generates galaxy.yml that fails YAMLlint #60909
Labels
affects_2.9
This issue/PR affects Ansible v2.9
bug
This issue/PR relates to a bug.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
SUMMARY
Not 100% sure if this is a bug or not... but when I initialize a new collection with
ansible-galaxy collection init
, then runyamllint
on it, I get the warnings:It would be nice if the file would pass linting, as the
meta/main.yml
file does after you fill in a few blanks (with the exception of a 'missing document start').Or... this can be closed as being pedantic :D
ISSUE TYPE
COMPONENT NAME
ansible-galaxy collection init
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
macOS 10.14.4
STEPS TO REPRODUCE
EXPECTED RESULTS
No errors.
ACTUAL RESULTS
File affected: https://github.com/ansible/ansible/blob/devel/lib/ansible/galaxy/data/default/collection/galaxy.yml.j2
Example galaxy.yml file: https://gist.github.com/geerlingguy/d0cc44e16b0d6d9938e07939b44107ec
The text was updated successfully, but these errors were encountered: