From bd4c9ee55d2fc7050ecb5d0bcf83def7fd7f343d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Blanco=20L=C3=B3pez?= Date: Wed, 17 Feb 2021 18:22:37 +0100 Subject: [PATCH] #55 exclude non-role files from linting --- CHANGELOG.md | 1 + {{cookiecutter.app_name}}_role/.ansible-lint | 2 ++ {{cookiecutter.app_name}}_role/.yamllint | 2 ++ 3 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d533cf7..3d67a3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ## Unreleased ### Added ### Changed +- *[#55](https://github.com/idealista/cookiecutter-ansible-role/issues/55) Excluded non-role files from linting* @blalop ### Fixed ### Removed diff --git a/{{cookiecutter.app_name}}_role/.ansible-lint b/{{cookiecutter.app_name}}_role/.ansible-lint index 06e03cc..36fe12f 100644 --- a/{{cookiecutter.app_name}}_role/.ansible-lint +++ b/{{cookiecutter.app_name}}_role/.ansible-lint @@ -1,5 +1,7 @@ exclude_paths: - ./molecule + - /.travis.yml + - /.github parseable: true skip_list: - '204' diff --git a/{{cookiecutter.app_name}}_role/.yamllint b/{{cookiecutter.app_name}}_role/.yamllint index 50e2ae9..dd13647 100644 --- a/{{cookiecutter.app_name}}_role/.yamllint +++ b/{{cookiecutter.app_name}}_role/.yamllint @@ -4,6 +4,8 @@ extends: default ignore: | molecule/**/tests/ + .github + .travis.yml rules: braces: