diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c82bcd..b25ddf9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,10 @@ 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 - *[#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) 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