Wildfly Driver role

This role provides a playbook to easily install a JDBC driver within the server modules directory tree. It comes with a template for the main.xml (that can be overriden).

Role Defaults

Variable

Description

Default

wildfly_user

posix user account for wildfly

wildfly

wildfly_group

posix group for wildfly

wildfly

wildfly_home

Wildfly installation directory

/opt/wildfly/wildfly-{{ wildfly_version }}/

jdbc_driver_version

Version of jdbc driver to download

9.4.1212

jdbc_driver_jar_filename

Filename of jdbc driver to download

postgresql-{{ jdbc_driver_version }}.jar

jdbc_driver_jar_url

URL for jdbc driver download

https://repo.maven.apache.org/maven2/org/postgresql/postgresql/{{ jdbc_driver_version }}/postgresql-{{ jdbc_driver_version }}.jar

jdbc_driver_jar_installation_path

Path for jdbc driver installation

{{ jdbc_driver_module_dir }}/{{ jdbc_driver_jar_filename }}

jdbc_driver_module_name

Name for the jdbc driver module

org.postgresql

jdbc_driver_module_dir

Path for module installation

`{{ wildfly_home }}/modules/{{ jdbc_driver_module_name

override_module_xml_template

Override path of template used for module configuration

None

Dependencies

Example Playbook

License

GPL2

Author Information