forked from Mirrors/cookiecutter-ansible-role
Compare commits
24 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0211cfcd29 | ||
|
|
01d41dc596 | ||
|
|
5fd7fc7e1d | ||
|
|
3514236fa0 | ||
|
|
d9964134da | ||
|
|
9a971619a7 | ||
|
|
409e7f8bd2 | ||
|
|
6a760eb1dc | ||
|
|
684428ec80 | ||
|
|
3a93e6734d | ||
|
|
5ad5453892 | ||
|
|
8e1924e9e3 | ||
|
|
519a783810 | ||
|
|
5fc3bcaa2e | ||
|
|
dacd85ef41 | ||
|
|
7e8ec829c9 | ||
|
|
cc0eb0ce7c | ||
|
|
08003a20e3 | ||
|
|
2838871c2b | ||
|
|
498bb69af5 | ||
|
|
9e12212122 | ||
|
|
bf38884dcd | ||
|
|
2372221f93 | ||
|
|
a082c79f12 |
10
.travis.yml
10
.travis.yml
@@ -11,6 +11,12 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
- MOLECULE_DISTRO=debian:stretch-slim
|
- MOLECULE_DISTRO=debian:stretch-slim
|
||||||
- MOLECULE_DISTRO=debian:buster-slim
|
- MOLECULE_DISTRO=debian:buster-slim
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./test.sh
|
- ./test.sh
|
||||||
|
notifications:
|
||||||
|
email:
|
||||||
|
if: branch = master
|
||||||
|
on_success: change
|
||||||
|
on_failure: always
|
||||||
|
recipients:
|
||||||
|
- desarrollo.benders@idealista.com
|
||||||
|
|||||||
14
CHANGELOG.md
14
CHANGELOG.md
@@ -3,11 +3,25 @@ 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).
|
This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog).
|
||||||
|
|
||||||
## Unreleased
|
## 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
|
### Added
|
||||||
|
- *[#69](https://github.com/idealista/cookiecutter-ansible-role/issues/69) Email notifications in travis.* @vicsufer
|
||||||
### Changed
|
### Changed
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- *[#67](https://github.com/idealista/cookiecutter-ansible-role/issues/67) fix needed task in check_mode- @vicsufer
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
## [2.5.1](https://github.com/idealista/cookiecutter-ansible-role/tree/2.5.1)
|
||||||
|
### [Full Changelog](https://github.com/idealista/cookiecutter-ansible-role/compare/2.5.0...2.5.1)
|
||||||
|
### Changed
|
||||||
|
- *[#63](https://github.com/idealista/cookiecutter-ansible-role/issues/63) Ignore html in gitattributes file* @blalop
|
||||||
|
### 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
|
||||||
|
- *[#60](https://github.com/idealista/cookiecutter-ansible-role/issues/60) [BUG] Wrong state option in "Ensure skeleton log paths" task* @emepege
|
||||||
|
|
||||||
## [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)
|
||||||
### [Full Changelog](https://github.com/idealista/cookiecutter-ansible-role/compare/2.4.1...2.5.0)
|
### [Full Changelog](https://github.com/idealista/cookiecutter-ansible-role/compare/2.4.1...2.5.0)
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
owner: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_user {% raw %}}}{% endraw %}"
|
owner: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_user {% raw %}}}{% endraw %}"
|
||||||
group: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_group {% raw %}}}{% endraw %}"
|
group: "{% raw %}{{{% endraw %} {{ cookiecutter.app_name }}_group {% raw %}}}{% endraw %}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
state: file
|
state: directory
|
||||||
when: {{ cookiecutter.app_name }}_log_file is defined
|
when: {{ cookiecutter.app_name }}_log_file is defined
|
||||||
tags:
|
tags:
|
||||||
- {{ cookiecutter.app_name }}_install
|
- {{ cookiecutter.app_name }}_install
|
||||||
@@ -48,6 +48,7 @@
|
|||||||
register: {{ cookiecutter.app_name }}_check
|
register: {{ cookiecutter.app_name }}_check
|
||||||
changed_when: false
|
changed_when: false
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
check_mode: no
|
||||||
tags:
|
tags:
|
||||||
- {{ cookiecutter.app_name }}_install
|
- {{ cookiecutter.app_name }}_install
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
*.yml linguist-detectable=true
|
*.yml linguist-detectable=true
|
||||||
*.yaml linguist-detectable=true
|
*.yaml linguist-detectable=true
|
||||||
|
*.html linguist-detectable=false
|
||||||
|
|||||||
@@ -17,3 +17,9 @@ script:
|
|||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||||
|
email:
|
||||||
|
if: branch = main
|
||||||
|
on_success: change
|
||||||
|
on_failure: always
|
||||||
|
recipients:
|
||||||
|
- desarrollo.benders@idealista.com
|
||||||
|
|||||||
Reference in New Issue
Block a user