From 8b765ae507e8e3ef90db6b52db2419314549f46e Mon Sep 17 00:00:00 2001 From: Emilien Mantel Date: Mon, 26 Aug 2024 10:11:36 +0200 Subject: [PATCH] :hammer: Modernize lint setup --- .ansible-lint | 2 -- .config/ansible-lint.yml | 10 ++++++++++ .gitignore | 2 ++ .yamllint.yml | 4 ++++ 4 files changed, 16 insertions(+), 2 deletions(-) delete mode 100644 .ansible-lint create mode 100644 .config/ansible-lint.yml diff --git a/.ansible-lint b/.ansible-lint deleted file mode 100644 index f99f65f..0000000 --- a/.ansible-lint +++ /dev/null @@ -1,2 +0,0 @@ -enable_list: - - fqcn-builtins diff --git a/.config/ansible-lint.yml b/.config/ansible-lint.yml new file mode 100644 index 0000000..2110236 --- /dev/null +++ b/.config/ansible-lint.yml @@ -0,0 +1,10 @@ +--- + +warn_list: [] + +skip_list: [] + +exclude_paths: + - venv/ + - tests/ # TODO: Remove this line when tests are migrated to molecule + - .github/ diff --git a/.gitignore b/.gitignore index c7cdbe1..9533603 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ .vagrant* *.swp *.retry +/.idea +/venv diff --git a/.yamllint.yml b/.yamllint.yml index 53974a0..be015b9 100644 --- a/.yamllint.yml +++ b/.yamllint.yml @@ -4,3 +4,7 @@ extends: default rules: line-length: disable + +ignore: + - /venv + - /tests # TODO: Remove this line when tests are migrated to molecule