Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
with:
token: ${{ secrets.TRIGGERING_PAT }}
repository: ${{ matrix.repo }}
event-type: "Dependency released - Wildfly v${{ needs.release.outputs.tag_version }}"
event-type: "Dependency released - WildFly v${{ needs.release.outputs.tag_version }}"
client-payload: '{ "github": ${{toJson(github)}} }'
6 changes: 3 additions & 3 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Bugfixes
- Fix uninstall_role to work, out of the box, with the wildfly_install defaults. `#197 <https://github.com/ansible-middleware/wildfly/pull/197>`_
- Fix wildfly_install changing ownership of system directories `#210 <https://github.com/ansible-middleware/wildfly/pull/210>`_
- JBoss EAP 7.4.7+ patching fails on openjdk17 if elytron is not enabled `#203 <https://github.com/ansible-middleware/wildfly/pull/203>`_
- Wildfly user account should be in wildfly_group as primary group `#202 <https://github.com/ansible-middleware/wildfly/pull/202>`_
- WildFly user account should be in wildfly_group as primary group `#202 <https://github.com/ansible-middleware/wildfly/pull/202>`_

v1.5.0
======
Expand Down Expand Up @@ -158,7 +158,7 @@ Minor Changes
-------------

- Cleanup and reorganize Prospero playbooks `#136 <https://github.com/ansible-middleware/wildfly/pull/136>`_
- Update to Wildfly 29 `#135 <https://github.com/ansible-middleware/wildfly/pull/135>`_
- Update to WildFly 29 `#135 <https://github.com/ansible-middleware/wildfly/pull/135>`_

Bugfixes
--------
Expand Down Expand Up @@ -208,7 +208,7 @@ Minor Changes
- Add support for firewalld `#106 <https://github.com/ansible-middleware/wildfly/pull/106>`_
- Implement JBossNetwork API client for downloading install archives `#107 <https://github.com/ansible-middleware/wildfly/pull/107>`_
- Install: add prospero as alternative install mechanism `#102 <https://github.com/ansible-middleware/wildfly/pull/102>`_
- Update default Wildfly version to 28 `#103 <https://github.com/ansible-middleware/wildfly/pull/103>`_
- Update default WildFly version to 28 `#103 <https://github.com/ansible-middleware/wildfly/pull/103>`_

v1.3.1
======
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Wildfly Collection for Ansible - middleware_automation.wildfly
# WildFly Collection for Ansible - middleware_automation.wildfly

<!--start build_status -->
[![Build Status](https://github.com/ansible-middleware/wildfly/workflows/CI/badge.svg?branch=main)](https://github.com/ansible-middleware/wildfly/actions/workflows/ci.yml)
<!--end build_status -->

## About

This Ansible Collection provides several roles to help install, setup and maintain Java JEE appserver Wildfly within the configuration management tool Ansible.
This Ansible Collection provides several roles to help install, setup and maintain Java JEE appserver WildFly within the configuration management tool Ansible.

### I know nothing about Ansible, but I want to install Wildfly, can I?
### I know nothing about Ansible, but I want to install WildFly, can I?

Yes, once Ansible is installed on your computer, you can simply run the following command (note that the inventory file needs to be populated with the name(s) of the machine(s) you wish to install Wildfly on):
Yes, once Ansible is installed on your computer, you can simply run the following command (note that the inventory file needs to be populated with the name(s) of the machine(s) you wish to install WildFly on):

$ ansible-galaxy collection install middleware_automation.wildfly
$ ansible-playbook -i inventory middleware_automation.wildfly.playbook
Expand Down Expand Up @@ -60,9 +60,9 @@ or via the included requirements file:
$ ansible-galaxy collection build .


## Using the collection to install and run Wildfly on target hosts
## Using the collection to install and run WildFly on target hosts

The collection comes with a simple playbook that allows to directly install and run Wildfly:
The collection comes with a simple playbook that allows to directly install and run WildFly:

$ ansible-playbook -i inventory middleware_automation.wildfly.playbook

Expand All @@ -84,7 +84,7 @@ Overrideable variables are documented in the roles wildfly_install, wildfly_syst
<!--start support -->
<!--end support -->

## Using the collection to customize Wildfly configuration
## Using the collection to customize WildFly configuration

Regarding the configuration of the Java app server itself, the Ansible collection has a specific strategy, designed to ensure idempotency of the resulting setup, but also ensure Ansible has the capacity to fine-tune, as much as needed, the server.

Expand All @@ -96,7 +96,7 @@ A last option is to use JBoss cli queries, within the Ansible, but it requires m

## A note on domain mode

This collection does not provides any support to use Wildfly's domain mode. The rationale behind this decision is that this Wildfly feature overlaps a lot with Ansible and it's **not recommended** and cumbersome to combine those. So, for simplicity sake, this collection focus only on standalone deployment of Wildfly JEE servers.
This collection does not provides any support to use WildFly's domain mode. The rationale behind this decision is that this WildFly feature overlaps a lot with Ansible and it's **not recommended** and cumbersome to combine those. So, for simplicity sake, this collection focus only on standalone deployment of WildFly JEE servers.

## License

Expand Down
2 changes: 1 addition & 1 deletion bump-wildfly-version.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
For safety reason, it's not possible to add a script to the repository. Copy the script below and renamed it to .sh to run in order to bump the version of Wildfly use the script below:
For safety reason, it's not possible to add a script to the repository. Copy the script below and renamed it to .sh to run in order to bump the version of WildFly use the script below:
#!/bin/bash
readonly INSTALL_DEFAULTS_FILE=${INSTALL_DEFAULTS_FILE:-'roles/wildfly_install/defaults/main.yml'}
readonly NEW_VERSION=${1}
Expand Down
6 changes: 3 additions & 3 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ releases:
- 'Install: add prospero as alternative install mechanism `#102 <https://github.com/ansible-middleware/wildfly/pull/102>`_

'
- 'Update default Wildfly version to 28 `#103 <https://github.com/ansible-middleware/wildfly/pull/103>`_
- 'Update default WildFly version to 28 `#103 <https://github.com/ansible-middleware/wildfly/pull/103>`_

'
fragments:
Expand Down Expand Up @@ -272,7 +272,7 @@ releases:
- 'Cleanup and reorganize Prospero playbooks `#136 <https://github.com/ansible-middleware/wildfly/pull/136>`_

'
- 'Update to Wildfly 29 `#135 <https://github.com/ansible-middleware/wildfly/pull/135>`_
- 'Update to WildFly 29 `#135 <https://github.com/ansible-middleware/wildfly/pull/135>`_

'
fragments:
Expand Down Expand Up @@ -362,7 +362,7 @@ releases:
<https://github.com/ansible-middleware/wildfly/pull/203>`_

'
- 'Wildfly user account should be in wildfly_group as primary group `#202 <https://github.com/ansible-middleware/wildfly/pull/202>`_
- 'WildFly user account should be in wildfly_group as primary group `#202 <https://github.com/ansible-middleware/wildfly/pull/202>`_

'
major_changes:
Expand Down
10 changes: 5 additions & 5 deletions docs/_gh_include/header.inc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Wildfly Ansible Collection documentation index</title>
<title>WildFly Ansible Collection documentation index</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://ansible-middleware.github.io/wildfly/main/_static/pygments.css" type="text/css" />
Expand All @@ -19,14 +19,14 @@
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="#" class="icon icon-home"> Wildfly Ansible Collection</a>
<a href="#" class="icon icon-home"> WildFly Ansible Collection</a>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p class="caption" role="heading"><span class="caption-text">Middleware Automation</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="https://ansible-middleware.github.io/infinispan/">Infinispan / Red Hat Data Grid</a></li>
<li class="toctree-l1"><a class="reference internal" href="https://ansible-middleware.github.io/keycloak/">Keycloak / Red Hat Single Sign-On</a></li>
<li class="toctree-l1"><a class="reference internal" href="https://ansible-middleware.github.io/wildfly/">Wildfly / Red Hat JBoss EAP</a></li>
<li class="toctree-l1"><a class="reference internal" href="https://ansible-middleware.github.io/wildfly/">WildFly / Red Hat JBoss EAP</a></li>
<li class="toctree-l1"><a class="reference internal" href="https://ansible-middleware.github.io/jws/">Tomcat / Red Hat JWS</a></li>
<li class="toctree-l1"><a class="reference internal" href="https://ansible-middleware.github.io/amq/">ActiveMQ / Red Hat AMQ</a></li>
<li class="toctree-l1"><a class="reference internal" href="https://ansible-middleware.github.io/amq_streams/">Kafka / Red Hat AMQ Streams</a></li>
Expand All @@ -43,15 +43,15 @@
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="#" class="icon icon-home"></a> &raquo;</li>
<li>Welcome to Wildfly Collection documentation</li>
<li>Welcome to WildFly Collection documentation</li>
<li class="wy-breadcrumbs-aside"></li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<section id="welcome-to-wildfly-collection-documentation">
<h1>Welcome to Wildfly Collection documentation<a class="headerlink" href="#welcome-to-wildfly-collection-documentation" title="Permalink to this headline"></a></h1>
<h1>Welcome to WildFly Collection documentation<a class="headerlink" href="#welcome-to-wildfly-collection-documentation" title="Permalink to this headline"></a></h1>
<div class="toctree-wrapper compound">
<p class="caption" role="heading"><span class="caption-text">Pick collection version:</span></p>
<ul>
10 changes: 5 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

# -- Project information -----------------------------------------------------

project = 'Wildfly Ansible Collection'
project = 'WildFly Ansible Collection'
copyright = '{y}, Red Hat, Inc.'.format(y=datetime.date.today().year)
author = 'Red Hat, Inc.'

Expand Down Expand Up @@ -109,7 +109,7 @@
# -- Options for HTMLHelp output ---------------------------------------------

# Output file base name for HTML help builder.
htmlhelp_basename = 'WildflyCollectionDoc'
htmlhelp_basename = 'WildFlyCollectionDoc'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops; I missed this when I scanned the diff locally. This looks like a possible functional change. I'll gladly revert it if it is a problem. I'll leave it for now in case it's harmless.



# -- Options for LaTeX output ------------------------------------------------
Expand All @@ -136,7 +136,7 @@
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'WildflyCollection.tex', 'Red Hat JBoss EAP Ansible Collection Documentation',
(master_doc, 'WildFlyCollection.tex', 'Red Hat JBoss EAP Ansible Collection Documentation',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as above.

'Red Hat, Inc.', 'manual'),
]

Expand All @@ -157,8 +157,8 @@
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'WildflyCollection', 'Red Hat JBoss EAP Ansible Collection Documentation',
author, 'WildflyCollection', 'One line description of project.',
(master_doc, 'WildFlyCollection', 'Red Hat JBoss EAP Ansible Collection Documentation',
author, 'WildFlyCollection', 'One line description of project.',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as above.

'Miscellaneous'),
]

Expand Down
6 changes: 3 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. Red Hat middleware_automation Wildfly Ansible Collection documentation main file
.. Red Hat middleware_automation WildFly Ansible Collection documentation main file

Welcome to Wildfly Collection documentation
Welcome to WildFly Collection documentation
===========================================

.. toctree::
Expand Down Expand Up @@ -31,7 +31,7 @@ Welcome to Wildfly Collection documentation

Infinispan / Red Hat Data Grid <https://ansible-middleware.github.io/infinispan/>
Keycloak / Red Hat Single Sign-On <https://ansible-middleware.github.io/keycloak/>
Wildfly / Red Hat JBoss EAP <https://ansible-middleware.github.io/wildfly/>
WildFly / Red Hat JBoss EAP <https://ansible-middleware.github.io/wildfly/>
Tomcat / Red Hat JWS <https://ansible-middleware.github.io/jws/>
ActiveMQ / Red Hat AMQ Broker <https://ansible-middleware.github.io/amq/>
Kafka / Red Hat AMQ Streams <https://ansible-middleware.github.io/amq_streams/>
Expand Down
2 changes: 1 addition & 1 deletion docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ at every collection release to ensure non-breaking changes and consistent behavi
The repository are:

- [Flange demo](https://github.com/ansible-middleware/flange-demo)
A deployment of Wildfly cluster integrated with keycloak and infinispan.
A deployment of WildFly cluster integrated with keycloak and infinispan.
- [CrossDC keycloak demo](https://github.com/ansible-middleware/wildfly-cluster-demo)
A clustered installation of EAP.

Expand Down
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors:
- Harsha Cherukuri <[email protected]>
- Guido Grazioli <[email protected]>
- Ranabir Chakraborty <[email protected]>
description: Enable Ansible to provisioning JBoss EAP or Wildfly instances.
description: Enable Ansible to provisioning JBoss EAP or WildFly instances.
license_file: "LICENSE"
tags:
- java
Expand Down
2 changes: 1 addition & 1 deletion molecule/uninstall/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- name: Populate service facts
ansible.builtin.service_facts:

- name: "Display state of the Wildfly service"
- name: "Display state of the WildFly service"
ansible.builtin.debug:
msg: "{{ ansible_facts.services['wildfly.service'] }}"

Expand Down
2 changes: 1 addition & 1 deletion playbooks/playbook.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: Ensure Wildfly is install and running as a service
- name: Ensure WildFly is install and running as a service
hosts: all
vars_files:
- vars/vars.yml
Expand Down
4 changes: 2 additions & 2 deletions roles/wildfly_driver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Role Defaults
|:---------|:------------|:--------|
|`wildfly_driver_module_dir`| Path for module installation | `{{ wildfly_home }}/modules/{{ wildfly_driver_module_name | replace('.', '/') }}/main` |
|`wildfly_driver_jar_installation_path`| Path for jdbc driver installation | `{{ wildfly_driver_module_dir }}/{{ wildfly_driver_jar_filename }}` |
|`wildfly_version`| Wildfly version to install | `35.0.0.Final` |
|`wildfly_home`| Wildfly installation directory | `/opt/wildfly/wildfly-{{ wildfly_version }}/` |
|`wildfly_version`| WildFly version to install | `35.0.0.Final` |
|`wildfly_home`| WildFly installation directory | `/opt/wildfly/wildfly-{{ wildfly_version }}/` |
|`wildfly_user`| posix user account for wildfly | `wildfly` |
|`wildfly_group`| posix group for wildfly | `{{ wildfly_user }}` |
<!--end argument_specs-->
Expand Down
4 changes: 2 additions & 2 deletions roles/wildfly_driver/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ argument_specs:
type: "str"
wildfly_version:
default: "35.0.0.Final"
description: "Wildfly version to install"
description: "WildFly version to install"
type: "str"
wildfly_home:
default: "/opt/wildfly/wildfly-{{ wildfly_version }}/"
description: "Wildfly installation directory"
description: "WildFly installation directory"
type: "str"
wildfly_user:
default: "wildfly"
Expand Down
16 changes: 8 additions & 8 deletions roles/wildfly_install/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
wildfly install role
====================

A role to automate the download and installation of the Wildfly JEE server.
A role to automate the download and installation of the WildFly JEE server.


Requirements
Expand All @@ -15,12 +15,12 @@ Role Defaults

| Variable | Description | Default |
|:---------|:------------|:--------|
|`wildfly_version`| Wildfly version to install | `35.0.0.Final` |
|`wildfly_archive_filename`| Wildfly download archive name | `wildfly-{{ wildfly_version }}.zip` |
|`wildfly_version`| WildFly version to install | `35.0.0.Final` |
|`wildfly_archive_filename`| WildFly download archive name | `wildfly-{{ wildfly_version }}.zip` |
|`wildfly_download_baseurl`| Base URL for wildfly download | `https://github.com/wildfly/wildfly/releases/download` |
|`wildfly_install_workdir`| Wildfly installation directory (where the server files are unzipped) | `/opt/wildfly/` |
|`wildfly_home`| Wildfly installation directory (WILDFLY_HOME) | `{{ wildfly_install_workdir }}wildfly-{{ wildfly_version }}/` |
|`wildfly_install_download_url`| Wildfly download URL | `{{ wildfly_download_baseurl }}/{{ wildfly_version }}/{{ wildfly_archive_filename }}` |
|`wildfly_install_workdir`| WildFly installation directory (where the server files are unzipped) | `/opt/wildfly/` |
|`wildfly_home`| WildFly installation directory (WILDFLY_HOME) | `{{ wildfly_install_workdir }}wildfly-{{ wildfly_version }}/` |
|`wildfly_install_download_url`| WildFly download URL | `{{ wildfly_download_baseurl }}/{{ wildfly_version }}/{{ wildfly_archive_filename }}` |
|`wildfly_archive_dir`| Target download directory | `{{ wildfly_install_workdir }}` |
|`wildfly_config_base`| Base standalone.xml config for instance | `standalone.xml` unless `wildfly_config_custom_file` is used |
|`wildfly_config_custom_file`| Custom standalone.xml config to be copied to target instance and used as base | `''` |
Expand All @@ -42,7 +42,7 @@ Role Variables

### Default Install

Installs the default version of Wildfly to the default location with the default user.
Installs the default version of WildFly to the default location with the default user.

```
---
Expand All @@ -56,7 +56,7 @@ Installs the default version of Wildfly to the default location with the default

### Explicit Location and Version

Older Wildfly versions can be download from outside Github.
Older WildFly versions can be download from outside Github.

```
---
Expand Down
8 changes: 4 additions & 4 deletions roles/wildfly_install/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ argument_specs:
options:
wildfly_version:
default: "35.0.0.Final"
description: "Wildfly version to install"
description: "WildFly version to install"
type: "str"
wildfly_archive_filename:
default: "wildfly-{{ wildfly_version }}.zip"
description: "Wildfly download archive name"
description: "WildFly download archive name"
type: "str"
wildfly_download_baseurl:
default: "https://github.com/wildfly/wildfly/releases/download"
Expand All @@ -19,11 +19,11 @@ argument_specs:
type: "str"
wildfly_home:
default: "{{ wildfly_install_workdir }}wildfly-{{ wildfly_version }}/"
description: "Wildfly installation directory"
description: "WildFly installation directory"
type: "str"
wildfly_install_download_url:
default: "{{ wildfly_download_baseurl }}/{{ wildfly_version }}/{{ wildfly_archive_filename }}"
description: "Wildfly download URL"
description: "WildFly download URL"
type: "str"
wildfly_archive_dir:
default: "{{ wildfly_install_workdir }}"
Expand Down
2 changes: 1 addition & 1 deletion roles/wildfly_migration/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
wildfly migration role
======================

This role encapsulate the [Wildfly Migration Tool](https://docs.wildfly.org/28/Migration_Guide.html) to allow using it as part of a Playbook.
This role encapsulate the [WildFly Migration Tool](https://docs.wildfly.org/28/Migration_Guide.html) to allow using it as part of a Playbook.

Requirements
------------
Expand Down
2 changes: 1 addition & 1 deletion roles/wildfly_subs/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
wildfly subs role
====================

This role is designed to help set up JBoss EAP (Red Hat product based on Wildfly) using RPM
This role is designed to help set up JBoss EAP (Red Hat product based on WildFly) using RPM
delivered by Red Hat to its customer. The playbook provides handy reusable content to enable
or disable a repo and install EAP using the group install feature.

Expand Down
Loading
Loading