Wildfly Install role
A set of playbooks to automate the installation the JEE server, including retrieving the source archive (wildfly or JBoss EAP from the Red Hat Customer Portal, if proper credentials are provided)
Requirements
Requirements on the target system are ensured by the role.
Role Defaults
Variable |
Description |
Default |
---|---|---|
|
Wildfly version to install |
|
|
Wildfly download archive name |
|
|
Base URL for wildfly download |
|
|
TODO document argument |
|
|
Wildfly installation directory |
|
|
Wildfly download URL |
|
|
Target download directory |
|
|
wildfly standalone.xml filename override |
|
|
posix user account for wildfly |
|
|
posix group for wildfly |
|
|
wildfly jvm initial heap size |
|
|
wildfly jvm max heap size |
|
|
wildfly jvm metaspace setting |
|
|
RHEL java rpm package |
|
|
Red Hap EAP version to install |
|
|
Red Hat EAP archive name |
|
|
Red Hat EAP installation path |
`{{ wildfly_install_workdir }}jboss-eap-{{ wildfly_jboss_eap_version |
|
Choice between wildfly (usptream) or Red Hat JBoss EAP (product) |
|
|
Whether to install from local archive |
|
Role Variables
No required variables
Dependencies
Example Playbooks
Default Install
Installs the default version of Wildfly to the default location with the default user.
---
- name: "Wildfly installation and configuration"
hosts: "{{ hosts_group_name | default('localhost') }}"
become: yes
collections:
- middleware_automation.wildfly
roles:
- wildfly_install
Explicit Location and Version
Older Wildfly versions can be download from outside Github.
---
- name: "Wildfly installation and configuration"
hosts: "{{ hosts_group_name | default('localhost') }}"
become: yes
vars:
wildfly_version: '24.0.1.Final'
wildfly_download_baseurl: "https://download.jboss.org/wildfly"
collections:
- middleware_automation.wildfly
roles:
- wildfly_install
License
GPL2