robertdebock / ansible-role-tomcat

Install and configure tomcat on your system.
https://robertdebock.nl/
Apache License 2.0
46 stars 57 forks source link

Tomcat upgrade not installed #22

Open jbrown-xentity opened 4 years ago

jbrown-xentity commented 4 years ago

Describe the bug

When a download of the specified version of tomcat is called, the file is only downloaded the first time. If a new version of tomcat is specified using the tomcat_version9 variable and the playbook is run on the same host, tomcat is not updated.

Playbook

Please paste the playbook you are using. (Consider requirements.yml and optionally the command you've invoked.)

latest version Run on multiple hosts with tomcat already installed, every command was reported as "skipped".

---
- name: Deploy Tomcat
  hosts: catalog-fgdc2iso
  roles:
    - role: robertdebock.bootstrap
    - role: robertdebock.core_dependencies
    - role: robertdebock.java
    - role: robertdebock.tomcat
      vars:
        tomcat_version9: "9.0.37"
        tomcat_instances:
          - name: "tomcat"
            version: 9
            address: "127.0.0.1"

Output

All tasks reported as "skipped".

Environment

Please consider sponsoring me.