Open DigitLib opened 6 years ago
@DigitLib this is looking good, but it appears that the variables defined in the RedHat.yml are not duplicated in the Debian.yml. I'll try this out but I'm guessing we need to ensure this is installing Tomcat the same on both OSes.
Also can you explain what problem was occurring with defining the tomcat roles?
@whikloj Debian install from repo but CentOS need to be installed external. I'll check is it same.
Problem about roles: it won't write a line with a rolename=manager-gui in tomcat-users.xml as defined in ../group_vars/tomcat.yml. It writes second line well with <user username=...
@whikloj Checked the version ubuntu is 8.0.32 latest is 8.0.54. Should we leave this or use the same version? I prefer newer...
This is addressed by my tomcat8 PR.
Note that my PR currently defaults to 8.0.48 (although I'm not sure why I picked that one....).
@seth-shaw-unlv I check now actually the latest ver of Tomcat is 8.0.49 but we'll have a problem in june it will be EOL. Here is a message from tomcat:
The Apache Tomcat team announces that support for Apache Tomcat 8.0.x will end on 30 June 2018.
This means that after 30 June 2018:
releases from the 8.0.x branch are highly unlikely
bugs affecting only the 8.0.x branch will not be addressed
security vulnerability reports will not be checked against the 8.0.x branch
Three months later (i.e. after 30 September 2018)
the 8.0.x download links will be removed
the latest 8.0.x release will be removed from the mirror system
the 8.0.x branch in svn will move from /tomcat/tc8.0.x to /tomcat/archive/tc8.0.x
the links to the 8.0.x documentation will be removed from tomcat.apache.org
Note that all 8.0.x releases will always be available from the archive.
It is anticipated that the final 8.0.x release will be made shortly before 30 June 2018.
We should probably aim for 8.5.x on both Centos and Ubuntu
As we mentioned that we need Tomcat8, this role download, unpack and install Tomcat 8.0.54 on CentOS. Tested and work fine on both distros. Adaptet systemd, user and group to tomcat8 for CentOS. Also it has OS variables so it work on both distros on vagrant up. There was a little problem adding a role in tomcat-users.xml as defined in ../group_vars/tomcat.yml so role is added in task file. Please can you test it so we can merge it in a clawbook. Here is a link https://github.com/DigitLib/CLAW-role-tomcat8