Skip to content

Commit

Permalink
Merge pull request #110 from guidograzioli/jws_additional_versions
Browse files Browse the repository at this point in the history
Populate JWS version/patch metadata, update docs
  • Loading branch information
guidograzioli committed May 6, 2022
2 parents 9ec4b6b + 67944ea commit 012e83a
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 7 deletions.
39 changes: 35 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# JWS Collection for Ansible

This repository contains the ansible playbook to setup JWS.
This repository contains the ansible roles and playbook to setup JWS.


## Ansible version compatibility

Expand All @@ -9,15 +10,17 @@ This collection has been tested against following Ansible versions: **>=2.9.10**
Plugins and modules within a collection may be tested with only specific Ansible versions. A collection may contain metadata that identifies these versions.
<!--end requires_ansible-->


## Included content

Click on the name of a plugin or module to view that content's documentation:


### Collections

- middleware_automation.redhat_csp_download
- This collection is required to download resources from RedHat Customer Portal.
- Documentation to collection can be found at <https://github.com/ansible-middleware/redhat-csp-download>
- This collection is required to download resources from Red Hat Customer Portal.
- Documentation for the collection can be found at <https://github.com/ansible-middleware/redhat-csp-download>


### Roles
Expand All @@ -26,7 +29,7 @@ Click on the name of a plugin or module to view that content's documentation:
- Installs JAVA
- Installs basic packages required
- Adds tomcat user and group
- Downloads tomcat and install
- Downloads tomcat or jws and installs
- Makes sure that tomcat belongs to the tomcat user and group
- Deploys server.xml, web.xml and context.xml

Expand Down Expand Up @@ -105,6 +108,34 @@ Note that if you respect the naming convention above for the file name, which is

Note: if you provide the jws_version and set tomcat_native to True, then the collection will compute the value of native_zipfile for you.


### JWS Versions

| JWS VERSION | Release Date | Tomcat Version | Native Version | Notes |
|:------------|:------------------|:---------------|:---------------|:----------------|
|`5.6.0` |November 30, 2021 |`9.0.50` | `1.2.30` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.6/html/red_hat_jboss_web_server_5.6_release_notes/index)|
|`5.5.0` |June 29, 2021 |`9.0.43` | `1.2.26` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.5/html/red_hat_jboss_web_server_5.5_release_notes/index)|
|`5.4.0` |November 23, 2020 |`9.0.36` | `1.2.25` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.4/html/red_hat_jboss_web_server_5.4_release_notes/index)|
|`5.3.0` |April 21, 2020 |`9.0.30` | `1.2.23` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.3/html/red_hat_jboss_web_server_5.3_release_notes/index)|
|`5.2.0` |November 20, 2019 |`9.0.21` | `1.2.21` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.2/html/red_hat_jboss_web_server_5.2_release_notes/index)|
|`5.1.0` |May 08, 2019 |`9.0.7` | `1.2.17` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.1/html/red_hat_jboss_web_server_5.1_release_notes/index)|


### JWS Patching

When variable `jws_apply_patches` is `True` (default: `False`), the role will automatically apply the latest cumulative patch for the selected base version.

| JWS VERSION | Release Date | JWS LATEST CP | Notes |
|:------------|:------------------|:--------------|:----------------|
|`5.6.0` |April 29, 2022 |`5.6.2` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.6/html/red_hat_jboss_web_server_5.6_service_pack_2_release_notes/index)|
|`5.5.0` |October 06, 2021 |`5.5.1` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.5/html/red_hat_jboss_web_server_5.5_service_pack_1_release_notes/index)|
|`5.4.0` |April 14, 2021 |`5.4.2` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.4/html/red_hat_jboss_web_server_5.4_service_pack_2_release_notes/index)|
|`5.3.0` |August 04, 2020 |`5.3.2` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.3/html/red_hat_jboss_web_server_5.3_service_pack_2_release_notes/index)|


Refer to [JBoss Web Server Component Details](https://access.redhat.com/articles/111723) for additional details.


### Using RPM

Change the default install method to RPM and provide the appropriate Tomcat HOME in the playbooks:
Expand Down
12 changes: 11 additions & 1 deletion roles/jws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ Versions
| JWS VERSION | Release Date | Tomcat Version | Native Version | Notes |
|:------------|:------------------|:---------------|:---------------|:----------------|
|`5.6.0` |November 30, 2021 |`9.0.50` | `1.2.30` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.6/html/red_hat_jboss_web_server_5.6_release_notes/index)|
|`5.5.0` |June 29, 2021 |`9.0.43` | `1.2.26` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.5/html/red_hat_jboss_web_server_5.5_release_notes/index)|
|`5.4.0` |November 23, 2020 |`9.0.36` | `1.2.25` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.4/html/red_hat_jboss_web_server_5.4_release_notes/index)|
|`5.3.0` |April 21, 2020 |`9.0.30` | `1.2.23` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.3/html/red_hat_jboss_web_server_5.3_release_notes/index)|
|`5.2.0` |November 20, 2019 |`9.0.21` | `1.2.21` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.2/html/red_hat_jboss_web_server_5.2_release_notes/index)|
|`5.1.0` |May 08, 2019 |`9.0.7` | `1.2.17` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.1/html/red_hat_jboss_web_server_5.1_release_notes/index)|


Patching
Expand All @@ -26,9 +31,14 @@ When variable `jws_apply_patches` is `True` (default: `False`), the role will au

| JWS VERSION | Release Date | JWS LATEST CP | Notes |
|:------------|:------------------|:--------------|:----------------|
|`5.6.0` |February 03, 2022 |`5.6.1` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.6/html/red_hat_jboss_web_server_5.6_service_pack_1_release_notes/index)|
|`5.6.0` |April 29, 2022 |`5.6.2` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.6/html/red_hat_jboss_web_server_5.6_service_pack_2_release_notes/index)|
|`5.5.0` |October 06, 2021 |`5.5.1` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.5/html/red_hat_jboss_web_server_5.5_service_pack_1_release_notes/index)|
|`5.4.0` |April 14, 2021 |`5.4.2` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.4/html/red_hat_jboss_web_server_5.4_service_pack_2_release_notes/index)|
|`5.3.0` |August 04, 2020 |`5.3.2` |[Release Notes](https://access.redhat.com/documentation/en-us/red_hat_jboss_web_server/5.3/html/red_hat_jboss_web_server_5.3_service_pack_2_release_notes/index)|


Refer to [JBoss Web Server Component Details](https://access.redhat.com/articles/111723) for additional details.

<!--start argument_specs-->
Role Defaults
-------------
Expand Down
30 changes: 28 additions & 2 deletions roles/jws/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,34 @@ tomcat:
jws:
rhn_ids:
'5.6.0': # noqa vars_in_vars_files_have_valid_names
id: '103663'
native: '103665'
latest_cp:
id: '104460'
v: '5.6.2'
'5.5.0': # noqa vars_in_vars_files_have_valid_names
id: '99001'
native: '99021'
latest_cp:
id: '102351'
v: '5.5.1'
'5.4.0': # noqa vars_in_vars_files_have_valid_names
id: '90341'
native: '90361'
latest_cp:
id: '104063'
v: '5.6.1'
id: '96421'
v: '5.4.2'
'5.3.0': # noqa vars_in_vars_files_have_valid_names
id: '81321'
native: '81341'
latest_cp:
id: '86201'
v: '5.3.2'
'5.2.0': # noqa vars_in_vars_files_have_valid_names
id: '75441'
native: '75461'
latest_cp:
'5.1.0': # noqa vars_in_vars_files_have_valid_names
id: '67741'
native: '67751'
latest_cp:

0 comments on commit 012e83a

Please sign in to comment.