From a082c79f1284e8235f5c17a8ff58e71b0e1df634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20P=C3=A9rez=20Garc=C3=ADa?= Date: Tue, 23 Feb 2021 13:31:02 +0100 Subject: [PATCH 1/5] resolve #60 change state value in Ensure skeleton log paths --- {{cookiecutter.app_name}}_role/tasks/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.app_name}}_role/tasks/install.yml b/{{cookiecutter.app_name}}_role/tasks/install.yml index 7f3b67e..47419a5 100644 --- a/{{cookiecutter.app_name}}_role/tasks/install.yml +++ b/{{cookiecutter.app_name}}_role/tasks/install.yml @@ -38,7 +38,7 @@ owner: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_user {% raw %}}}{% endraw %}" group: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_group {% raw %}}}{% endraw %}" {% endif %} - state: file + state: directory when: {{ cookiecutter.app_name }}_log_file is defined tags: - {{ cookiecutter.app_name }}_install From 2372221f939a03df4dd0db6e39c8571957ffed15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20P=C3=A9rez=20Garc=C3=ADa?= Date: Tue, 23 Feb 2021 16:37:10 +0100 Subject: [PATCH 2/5] update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 69872e8..21cdba5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ### Added ### Changed ### Fixed +- *[#60](https://github.com/idealista/cookiecutter-ansible-role/issues/60) [BUG] Wrong state option in "Ensure skeleton log paths" task* @emepege ### Removed ## [2.5.0](https://github.com/idealista/cookiecutter-ansible-role/tree/2.5.0) From bf38884dcd6a3e77c1d67361ffcbe6e048b34803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Blanco=20L=C3=B3pez?= Date: Fri, 5 Mar 2021 13:31:24 +0100 Subject: [PATCH 3/5] #63 ignore html code in linguist detection --- CHANGELOG.md | 1 + .../{% raw %}.gitattributes{% endraw %} | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 69872e8..531ce86 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 +- *[#63](https://github.com/idealista/cookiecutter-ansible-role/issues/63) Ignore html in gitattributes file* @blalop ### Fixed ### Removed diff --git a/{{cookiecutter.app_name}}_role/{% raw %}.gitattributes{% endraw %} b/{{cookiecutter.app_name}}_role/{% raw %}.gitattributes{% endraw %} index aae6a25..d08e2bf 100644 --- a/{{cookiecutter.app_name}}_role/{% raw %}.gitattributes{% endraw %} +++ b/{{cookiecutter.app_name}}_role/{% raw %}.gitattributes{% endraw %} @@ -1,2 +1,3 @@ *.yml linguist-detectable=true *.yaml linguist-detectable=true +*.html linguist-detectable=false From 2838871c2bb34a0814a7c7ef7d43ac33e3daf6c2 Mon Sep 17 00:00:00 2001 From: David Mateo Date: Mon, 8 Mar 2021 09:18:01 +0100 Subject: [PATCH 4/5] Adding changes to resolve #62 - ignore_errors set to true in to the goss tests execution task - Change log update --- CHANGELOG.md | 1 + {{cookiecutter.app_name}}_role/molecule/default/verify.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 69872e8..4c82bcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ### Added ### Changed ### Fixed +- *[#62](https://github.com/idealista/cookiecutter-ansible-role/issues/62) molecule verify fails and breaks the run when at least one test fail* @ultraheroe ### Removed ## [2.5.0](https://github.com/idealista/cookiecutter-ansible-role/tree/2.5.0) diff --git a/{{cookiecutter.app_name}}_role/molecule/default/verify.yml b/{{cookiecutter.app_name}}_role/molecule/default/verify.yml index 2a35a84..a604052 100644 --- a/{{cookiecutter.app_name}}_role/molecule/default/verify.yml +++ b/{{cookiecutter.app_name}}_role/molecule/default/verify.yml @@ -45,6 +45,7 @@ command: "{% raw %}{{{% endraw %} goss_dst {% raw %}}}{% endraw %} -g {% raw %}{{{% endraw %} item {% raw %}}}{% endraw %} validate --format {% raw %}{{{% endraw %} goss_format {% raw %}}}{% endraw %}" register: test_results with_items: "{% raw %}{{{% endraw %} test_files.stdout_lines {% raw %}}}{% endraw %}" + ignore_errors: true - name: Display details about the Goss results debug: From dacd85ef41723fc4f72aff304c97a12b2a028536 Mon Sep 17 00:00:00 2001 From: David Mateo Date: Tue, 9 Mar 2021 12:05:23 +0100 Subject: [PATCH 5/5] Update CHANGELOG.md --- CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b25ddf9..0acb2f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,11 +5,16 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ## Unreleased ### Added ### Changed +### Fixed +### Removed + +## [2.5.1](https://github.com/idealista/cookiecutter-ansible-role/tree/2.5.1) +### [Full Changelog](https://github.com/idealista/cookiecutter-ansible-role/compare/2.5.0...2.5.1) +### Changed - *[#63](https://github.com/idealista/cookiecutter-ansible-role/issues/63) Ignore html in gitattributes file* @blalop ### Fixed - *[#62](https://github.com/idealista/cookiecutter-ansible-role/issues/62) molecule verify fails and breaks the run when at least one test fail* @ultraheroe - *[#60](https://github.com/idealista/cookiecutter-ansible-role/issues/60) [BUG] Wrong state option in "Ensure skeleton log paths" task* @emepege -### Removed ## [2.5.0](https://github.com/idealista/cookiecutter-ansible-role/tree/2.5.0) ### [Full Changelog](https://github.com/idealista/cookiecutter-ansible-role/compare/2.4.1...2.5.0)