ansible-lint 6.x updates

The only thing we need to skip currently is using FQCN for ansible
builtin modules, plugins
Add `kinds` - otherwise, Ansible thinks anything not in a traditional
role path is a plain YAML file, and we don't get the additional
checking.
Ensure all plays are named.
Fix some other minor problems.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
This commit is contained in:
Rich Megginson 2023-01-04 09:55:08 -07:00 committed by Richard Megginson
parent 586b0ec120
commit 2e8ac7aa66
28 changed files with 68 additions and 35 deletions

View file

@ -74,7 +74,7 @@
# ansible-lint wants this to be a handler, but this is not appropriate as
# NetworkManager must be restarted prior to the connections being created.
# see (https://docs.ansible.com/ansible-lint/rules/default_rules.html)
- __network_package_install.changed # noqa 503
- __network_package_install.changed # noqa no-handler
- name: Enable and start NetworkManager
service: