ansible.builtin.jboss (v2.5.15) — module

deploy applications to JBoss

| "added in version" 1.4 of ansible.builtin"

Authors: Jeroen Hoekx (@jhoekx)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.5.15

Description

Deploy applications to JBoss standalone using the filesystem

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Deploy a hello world application
- jboss:
    src: /tmp/hello-1.0-SNAPSHOT.war
    deployment: hello.war
    state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Update the hello world application
- jboss:
    src: /tmp/hello-1.1-SNAPSHOT.war
    deployment: hello.war
    state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Undeploy the hello world application
- jboss:
    deployment: hello.war
    state: absent

Inputs

    
src:
    description:
    - The remote path of the application ear or war to deploy
    required: false

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Whether the application should be deployed or undeployed
    required: false

deployment:
    description:
    - The name of the deployment
    required: true

deploy_path:
    default: /var/lib/jbossas/standalone/deployments
    description:
    - The location in the filesystem where the deployment scanner listens
    required: false