wildfly install role
A role to automate the download and installation of the Wildfly JEE server.
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 |
|
|
Wildfly installation directory (where the server files are unzipped) |
|
|
Wildfly installation directory (WILDFLY_HOME) |
|
|
Wildfly download URL |
|
|
Target download directory |
|
|
Base standalone.xml config for instance |
|
|
Custom standalone.xml config to be copied to target instance and used as base |
|
|
posix user account for wildfly |
|
|
posix group for wildfly |
|
|
RHEL java rpm package |
|
|
Whether to install from local archive |
|
Role Variables
No required variables
Example Playbooks
Default Install
Installs the default version of Wildfly to the default location with the default user.
---
- name: "Installation and configuration"
hosts: "{{ hosts_group_name | default('localhost') }}"
collections:
- middleware_automation.wildfly
roles:
- wildfly_install
Explicit Location and Version
Older Wildfly versions can be download from outside Github.
---
- name: "Installation and configuration"
hosts: "{{ hosts_group_name | default('localhost') }}"
vars:
wildfly_version: '24.0.1.Final'
wildfly_download_baseurl: "https://download.jboss.org/wildfly"
collections:
- middleware_automation.wildfly
roles:
- wildfly_install
License
GPL2