New in version 1.4.
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 |
| Whether the application should be deployed or undeployed |
# 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
Note
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.
© 2012–2017 Michael DeHaan
© 2017 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/jboss_module.html