robertdebock / ansible-role-tomcat

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

Can't change tomcat version per instance #49

Open marcin-github opened 2 years ago

marcin-github commented 2 years ago

Describe the bug

I can't change version of tomcat per instance.

Playbook

---
tomcat_instances:
  - name: "tomcat-9-test"
    version: 9
    user: "tomcat-9-test"
    group: "tomcat-9-test"

Changing version globaly using:

---
tomcat_version: 9
tomcat_instances:
  - name: "tomcat-9-test"
    version: 9
    user: "tomcat-9-test"
    group: "tomcat-9-test"

works.

Environment