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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0acb2f3..e1423ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,9 +3,15 @@ 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 ### Fixed +- *[#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) 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 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