You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After initializing a role with ansible-galaxy role init role_name, the following happens.
With an older version (v5.4.0) of Ansible Lint which is installed via the PPA, these problems appear in VSCode (v1.76.1), and the first three are not resolvable:
meta/main.yml default values should be changed for: ``author, description, company, license, license``
With Ansible Lint v6.14.2 different error messages appear, and they can be resolved.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It might be a bug, but I am not sure. Why the "license" item listed twice? Is it deliberate, or they can be merged into one item?
ansible-lint/src/ansiblelint/rules/meta_incorrect.py
Lines 21 to 27 in 27e4ae1
After initializing a role with
ansible-galaxy role init role_name
, the following happens.With an older version (v5.4.0) of Ansible Lint which is installed via the PPA, these problems appear in VSCode (v1.76.1), and the first three are not resolvable:
With Ansible Lint v6.14.2 different error messages appear, and they can be resolved.
Beta Was this translation helpful? Give feedback.
All reactions