Bug description
On RHEL 10 the tomcat package is Tomcat 10.1; Tomcat 9 is packaged as tomcat9 (Red Hat's "Considerations in adopting RHEL 10", appendix A.2). The role installs tomcat, tomcat-webapps and tomcat-admin-webapps and only ships templates for 9.0, so its version check (roles/apache_tomcat/tasks/main.yml:42) aborts the run on RHEL 10.
Steps to reproduce
- On Rocky Linux 10.2, run
dnf repoquery --latest-limit 1 tomcat: tomcat-10.1.49.
- Deploy the role: the assert fails, because
__apache_tomcat__supported_versions only lists 9.0.
Expected behavior
The role supports RHEL 10, either by installing the tomcat9* packages there or by shipping templates for 10.1. Tomcat 10.1 implements Jakarta EE 10 (jakarta.* namespace), so webapps built against javax.* do not run on it.
Environment
LFOps main, Rocky Linux 10.2.
Bug description
On RHEL 10 the
tomcatpackage is Tomcat 10.1; Tomcat 9 is packaged astomcat9(Red Hat's "Considerations in adopting RHEL 10", appendix A.2). The role installstomcat,tomcat-webappsandtomcat-admin-webappsand only ships templates for 9.0, so its version check (roles/apache_tomcat/tasks/main.yml:42) aborts the run on RHEL 10.Steps to reproduce
dnf repoquery --latest-limit 1 tomcat:tomcat-10.1.49.__apache_tomcat__supported_versionsonly lists9.0.Expected behavior
The role supports RHEL 10, either by installing the
tomcat9*packages there or by shipping templates for 10.1. Tomcat 10.1 implements Jakarta EE 10 (jakarta.*namespace), so webapps built againstjavax.*do not run on it.Environment
LFOps main, Rocky Linux 10.2.