Skip to content

Commit

Permalink
Merge pull request #100 from idealista/develop
Browse files Browse the repository at this point in the history
Release 1.10.1
  • Loading branch information
vicsufer authored Mar 30, 2021
2 parents faef450 + c64313d commit 0152263
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch

## [Unreleased](https://github.com/idealista/tomcat_role/tree/develop)

## [1.10.1](https://github.com/idealista/tomcat_role/tree/1.10.1)
[Full Changelog](https://github.com/idealista/tomcat_role/compare/1.10.0...1.10.1)
### Fixed
- *Fix tomcat_version variable usage and conditional in "Download & Extract Tomcat" task* @agimenez
- *Fix check mode for task Check Tomcat version* @agimenez

## [1.10.0](https://github.com/idealista/tomcat_role/tree/1.10.0)
[Full Changelog](https://github.com/idealista/tomcat_role/compare/1.9.1...1.10.0)
Expand Down
3 changes: 2 additions & 1 deletion tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
register: tomcat_check
changed_when: false
ignore_errors: true
check_mode: no

# File permissions based on official documentation: https://tomcat.apache.org/tomcat-8.0-doc/security-howto.html
- name: Tomcat | Download & Extract Tomcat
Expand All @@ -41,7 +42,7 @@
owner: "{{ tomcat_user }}"
group: "{{ tomcat_group }}"
mode: 0750
when: 'tomcat_force_reinstall or tomcat_check is failed or tomcat_check.stdout == "Apache Tomcat/tomcat_version"'
when: tomcat_force_reinstall or tomcat_check is failed or tomcat_version not in tomcat_check.stdout

- name: Tomcat | Copy Daemon script
template:
Expand Down

0 comments on commit 0152263

Please sign in to comment.