From 2838871c2bb34a0814a7c7ef7d43ac33e3daf6c2 Mon Sep 17 00:00:00 2001 From: David Mateo Date: Mon, 8 Mar 2021 09:18:01 +0100 Subject: [PATCH] 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: