Documentation

jboss - deploy applications to JBoss

New in version 1.4.

Synopsis

Deploy applications to JBoss standalone using the filesystem

Options

parameter required default choices comments
deploy_path
no /var/lib/jbossas/standalone/deployments
    The location in the filesystem where the deployment scanner listens
    deployment
    yes
      The name of the deployment
      src
      no
        The remote path of the application ear or war to deploy
        state
        no present
        • present
        • absent
        Whether the application should be deployed or undeployed

        Examples

        # Deploy a hello world application
        - jboss: src=/tmp/hello-1.0-SNAPSHOT.war deployment=hello.war state=present
        # Update the hello world application
        - jboss: src=/tmp/hello-1.1-SNAPSHOT.war deployment=hello.war state=present
        # Undeploy the hello world application
        - jboss: deployment=hello.war state=absent
        

        Notes

        Note

        The JBoss standalone deployment-scanner has to be enabled in standalone.xml

        Note

        Ensure no identically named application is deployed through the JBoss CLI

        This is an Extras Module

        For more information on what this means please read Extras Modules

        For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Helping Testing PRs and Developing Modules.