diff --git a/CHANGELOG.md b/CHANGELOG.md index 69872e8..0acb2f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,14 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ### 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 + ## [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) ### Added 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: 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 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