Adding changes to resolve #62

- ignore_errors set to true in to the goss tests execution task
   - Change log update
This commit is contained in:
David Mateo 2021-03-08 09:18:01 +01:00
parent c7be6405e8
commit 2838871c2b
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch
### Added ### Added
### Changed ### Changed
### Fixed ### 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 ### Removed
## [2.5.0](https://github.com/idealista/cookiecutter-ansible-role/tree/2.5.0) ## [2.5.0](https://github.com/idealista/cookiecutter-ansible-role/tree/2.5.0)

View File

@ -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 %}" command: "{% raw %}{{{% endraw %} goss_dst {% raw %}}}{% endraw %} -g {% raw %}{{{% endraw %} item {% raw %}}}{% endraw %} validate --format {% raw %}{{{% endraw %} goss_format {% raw %}}}{% endraw %}"
register: test_results register: test_results
with_items: "{% raw %}{{{% endraw %} test_files.stdout_lines {% raw %}}}{% endraw %}" with_items: "{% raw %}{{{% endraw %} test_files.stdout_lines {% raw %}}}{% endraw %}"
ignore_errors: true
- name: Display details about the Goss results - name: Display details about the Goss results
debug: debug: