Skip to content

Commit

Permalink
Merge pull request #97 from agimenez/fix/check_tomcat_version
Browse files Browse the repository at this point in the history
Fix tomcat_version variable usage
  • Loading branch information
vicsufer authored Mar 30, 2021
2 parents 9796b34 + 307ac2b commit 273c49d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch

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


Expand Down
2 changes: 1 addition & 1 deletion tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,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 273c49d

Please sign in to comment.