From 8e1924e9e34c676eb965b419dd66165f6fe7fcc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Su=C3=A1rez=20Fern=C3=A1ndez?= <15276132+vicsufer@users.noreply.github.com> Date: Mon, 29 Mar 2021 14:57:06 +0200 Subject: [PATCH 1/8] Install checkmode --- {{cookiecutter.app_name}}_role/tasks/install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/{{cookiecutter.app_name}}_role/tasks/install.yml b/{{cookiecutter.app_name}}_role/tasks/install.yml index 47419a5..ac991ea 100644 --- a/{{cookiecutter.app_name}}_role/tasks/install.yml +++ b/{{cookiecutter.app_name}}_role/tasks/install.yml @@ -48,6 +48,7 @@ register: {{ cookiecutter.app_name }}_check changed_when: false ignore_errors: true + check_mode: no tags: - {{ cookiecutter.app_name }}_install From 5ad5453892bfa17cf77b75957885fe09e03a3614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Su=C3=A1rez=20Fern=C3=A1ndez?= <15276132+vicsufer@users.noreply.github.com> Date: Mon, 29 Mar 2021 15:01:25 +0200 Subject: [PATCH 2/8] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0acb2f3..b153238 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 +- *[#67](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.1](https://github.com/idealista/cookiecutter-ansible-role/tree/2.5.1) From 3a93e6734d39d30c6d781adaff9c6b05ff3fe4c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Su=C3=A1rez=20Fern=C3=A1ndez?= <15276132+vicsufer@users.noreply.github.com> Date: Mon, 29 Mar 2021 15:25:58 +0200 Subject: [PATCH 3/8] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b153238..b347d2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ### Added ### Changed ### Fixed -- *[#67](https://github.com/idealista/cookiecutter-ansible-role/issues/62) molecule verify fails and breaks the run when at least one test fail* @ultraheroe +- *[#67](https://github.com/idealista/cookiecutter-ansible-role/issues/67) fix needed task in check_mode- @vicsufer ### Removed ## [2.5.1](https://github.com/idealista/cookiecutter-ansible-role/tree/2.5.1) From 6a760eb1dcd74b5b7cd5ebec1ca0ebf73ce09006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Su=C3=A1rez=20Fern=C3=A1ndez?= <15276132+vicsufer@users.noreply.github.com> Date: Thu, 29 Apr 2021 15:29:30 +0200 Subject: [PATCH 4/8] Update .travis.yml --- .travis.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d87c80f..5cb54c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,12 @@ env: jobs: - MOLECULE_DISTRO=debian:stretch-slim - MOLECULE_DISTRO=debian:buster-slim - script: - - ./test.sh \ No newline at end of file + - ./test.sh +notifications: + email: + if: branch = master + on_success: change + on_failure: always + recipients: + - desarrollo.benders@idealista.com From 409e7f8bd276046be24fc8d2f0633320d209b1c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Su=C3=A1rez=20Fern=C3=A1ndez?= <15276132+vicsufer@users.noreply.github.com> Date: Thu, 29 Apr 2021 15:32:18 +0200 Subject: [PATCH 5/8] Update .travils.yml template --- .../{% raw %}.travis.yml{% endraw %} | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/{{cookiecutter.app_name}}_role/{% raw %}.travis.yml{% endraw %} b/{{cookiecutter.app_name}}_role/{% raw %}.travis.yml{% endraw %} index e14d6b9..eb97830 100644 --- a/{{cookiecutter.app_name}}_role/{% raw %}.travis.yml{% endraw %} +++ b/{{cookiecutter.app_name}}_role/{% raw %}.travis.yml{% endraw %} @@ -17,3 +17,9 @@ script: notifications: webhooks: https://galaxy.ansible.com/api/v1/notifications/ + email: + if: branch = main + on_success: change + on_failure: always + recipients: + - desarrollo.benders@idealista.com From 9a971619a7b7eea3a283f11f94c079c232fe912a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Su=C3=A1rez=20Fern=C3=A1ndez?= <15276132+vicsufer@users.noreply.github.com> Date: Thu, 29 Apr 2021 15:38:57 +0200 Subject: [PATCH 6/8] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b347d2a..f670215 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ## Unreleased ### Added +- *[#69](https://github.com/idealista/cookiecutter-ansible-role/issues/57) Email notifications in travis.* @vicsufer ### Changed ### Fixed - *[#67](https://github.com/idealista/cookiecutter-ansible-role/issues/67) fix needed task in check_mode- @vicsufer From d9964134dadd8e157979d6cc6f36d6fd7b9c441a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Su=C3=A1rez=20Fern=C3=A1ndez?= <15276132+vicsufer@users.noreply.github.com> Date: Thu, 29 Apr 2021 17:38:30 +0200 Subject: [PATCH 7/8] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f670215..f502e75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ## Unreleased ### Added -- *[#69](https://github.com/idealista/cookiecutter-ansible-role/issues/57) Email notifications in travis.* @vicsufer +- *[#69](https://github.com/idealista/cookiecutter-ansible-role/issues/69) Email notifications in travis.* @vicsufer ### Changed ### Fixed - *[#67](https://github.com/idealista/cookiecutter-ansible-role/issues/67) fix needed task in check_mode- @vicsufer From 5fd7fc7e1d7873428eb3b0bf88b5ff489d78904c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Su=C3=A1rez=20Fern=C3=A1ndez?= <15276132+vicsufer@users.noreply.github.com> Date: Fri, 30 Apr 2021 09:11:33 +0200 Subject: [PATCH 8/8] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f502e75..e1423ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog). ## Unreleased + + +## [2.6.0](https://github.com/idealista/cookiecutter-ansible-role/tree/2.6.0) +### [Full Changelog](https://github.com/idealista/cookiecutter-ansible-role/compare/2.5.1...2.6.0) ### Added - *[#69](https://github.com/idealista/cookiecutter-ansible-role/issues/69) Email notifications in travis.* @vicsufer ### Changed