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) 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