add lint skip_list and molecule setup

This commit is contained in:
Guido Grazioli 2022-02-15 13:05:33 +01:00
commit 14b876edd7
No known key found for this signature in database
GPG key ID: 22C8C31EF2BC093B
3 changed files with 15 additions and 0 deletions

7
.ansible-lint Normal file
View file

@ -0,0 +1,7 @@
warn_list:
- role_vars_start_with_role_name # All role parameters must be named ^<role_name>_.*
- vars_in_vars_files_have_valid_names # Variable in vars files must have valid name
- vars_should_not_be_used # vars should not be used
- experimental # all rules tagged as experimental
- ignore-errors # Use failed_when and specify error conditions instead of using ignore_errors
- no-handler # Tasks that run when changed should likely be handlers