Install WildFly Application Server along with OpenJDK on Ubuntu.
I've developed and tested with Ansible 2.2 on Ubuntu 16.04. Other versions should work as well (please let me know so that I can update the supported platforms!)
Your host must have internet access in order to download the WildFly archive.
WildFly v10.1.0 gets installed by default:
wildfly_version: "10.1.0.Final"
wildfly_checksum: "sha1:5ea0a70a483a4beaf327faeaf0a391208d33d4bd"
If you want to install a different version don't forget to update the SHA-1 checksum as well!
You can overwrite these settings:
# The configuration you want to run
wildfly_config: standalone.xml
# The mode you want to run
wildfly_mode: standalone
# The address to bind to
wildfly_bind: 0.0.0.0
Please use wildfly_home
to access Wildfly's basedir, i.e.
/opt/wildfly-X.Y.Z
.
Set wildfly_reinstall
to yes when you want to delete wildfly_home
before
installation.
None.
- hosts: servers
roles:
- role: bjoernalbers.wildfly
wildfly_config: standalone-full.xml
This Ansible role is released under the MIT License.