wildfly utils role

This roles regroups reusable content to manage the server, but also dealing with JBoss EAP specific feature (such as apply cumulative patches).

Entrypoints

  • download_from_rhn: download resources from the Red Hat Customer Portal via the JBossNetwork API

  • apply_cp: download and patch EAP

  • keycloak_adapter: download and install the keycloak adapter module

  • jboss_cli: execute arbitrary cli commands of command files

Role Defaults

Variable

Description

Default

jboss_cli_controller_host

Hostname for connecting to cli

localhost

jboss_cli_controller_port

Port for connecting to cli

9990

wildfly_no_restart_after_patch

When true, skip restarting after applying a cumulative patch

False

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_prospero_version

Version of Prospero to use

1.3.0.Beta1

wildfly_prospero_name

Constant for the name of the prospero tool

prospero

wildfly_prospero_install_dir

Path to the installation dir for Prospero

/opt/prospero

wildfly_prospero_profile_name

Name of the Wildfly profile for the server to install

wildfly

wildfly_prospero_scenario_enable

Specificy to Molecule if it should run the Prospero scenario

True

wildfly_prospero_archive_name

Name of the Prospero archive

{{ wildfly_prospero_name }}-{{ wildfly_prospero_version }}.zip

wildfly_prospero_home

Home of the prospero tool

{{ wildfly_prospero_install_dir }}/{{ wildfly_prospero_name }}-{{ wildfly_prospero_version }}

wildfly_prospero_install_manifest_dir

Path on target to the Prospero manifest

{{ wildfly_install_workdir }}/manifest

wildfly_prospero_download_url

URL to download Prospero

https://github.com/wildfly-extras/prospero/releases/download/{{ wildfly_prospero_version }}/prospero-{{ wildfly_prospero_version }}.zip

wildfly_prospero_download_check_ssl

Should Ansible check SSL when downloading Prospero

False

Role Variables

Variable

Description

Required

jboss_cli_query

The command to execute via jboss-cli; one of jboss_cli_query or jboss_cli_file is required exclusively

False

jboss_cli_file

The file to execute via jboss-cli; one of jboss_cli_query or jboss_cli_file is required exclusively

False

jboss_cli_timeout

Seconds to wait for jboss-cli connection to server

False