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/2] 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/2] 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)