From e76415384ae5ab2ce646b0c29ed4901c15d67462 Mon Sep 17 00:00:00 2001 From: Fran Tsao Date: Thu, 12 Nov 2020 17:51:11 +0100 Subject: [PATCH 1/2] #40 updated yamllint configuration --- CHANGELOG.md | 2 ++ {{cookiecutter.app_name}}_role/.yamllint | 11 +---------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d473060..77e7e70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog). ## Unreleased +### Fixed +- *[#40](https://github.com/idealista/cookiecutter-ansible-role/issues/40) Updated yamllint configuration* @frantsao ### Changed - *[#38](https://github.com/idealista/cookiecutter-ansible-role/pull/38) Bump goss version from 0.3.11 to 0.3.14* @vicsufer ### Removed diff --git a/{{cookiecutter.app_name}}_role/.yamllint b/{{cookiecutter.app_name}}_role/.yamllint index 84510f6..499e233 100644 --- a/{{cookiecutter.app_name}}_role/.yamllint +++ b/{{cookiecutter.app_name}}_role/.yamllint @@ -3,9 +3,7 @@ extends: default ignore: | - .travis.yml - molecule/ - tests/ + molecule/default/tests/ rules: braces: @@ -20,20 +18,13 @@ rules: commas: max-spaces-after: -1 level: error - comments: disable - comments-indentation: disable - document-start: disable empty-lines: max: 3 level: error hyphens: level: error - indentation: disable key-duplicates: enable line-length: disable - new-line-at-end-of-file: disable new-lines: type: unix - trailing-spaces: disable truthy: disable - \ No newline at end of file From ab62958be3f245ce2a0c59e485ee970f484366de Mon Sep 17 00:00:00 2001 From: Fran Tsao Date: Fri, 13 Nov 2020 12:48:18 +0100 Subject: [PATCH 2/2] #40 yamllint ignore tests from all scenarios --- {{cookiecutter.app_name}}_role/.yamllint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.app_name}}_role/.yamllint b/{{cookiecutter.app_name}}_role/.yamllint index 499e233..50e2ae9 100644 --- a/{{cookiecutter.app_name}}_role/.yamllint +++ b/{{cookiecutter.app_name}}_role/.yamllint @@ -3,7 +3,7 @@ extends: default ignore: | - molecule/default/tests/ + molecule/**/tests/ rules: braces: