ansible / ansible.builtin / v2.9.18 / module / jboss Deploy applications to JBoss | "added in version" 1.4 of ansible.builtin" Authors: Jeroen Hoekx (@jhoekx) preview | supported by communityansible.builtin.jboss (v2.9.18) — module
pip
Install with pip install ansible==2.9.18
Deploy applications to JBoss standalone using the filesystem.
- name: Deploy a hello world application to the default deploy_path jboss: src: /tmp/hello-1.0-SNAPSHOT.war deployment: hello.war state: present
- name: Update the hello world application to the non-default deploy_path jboss: src: /tmp/hello-1.1-SNAPSHOT.war deploy_path: /opt/wildfly/deployment deployment: hello.war state: present
- name: Undeploy the hello world application from the default deploy_path jboss: deployment: hello.war state: absent
src: description: - The remote path of the application ear or war to deploy. - Required when I(state=present). - Ignored when I(state=absent). type: path state: choices: - present - absent default: present description: - Whether the application should be deployed or undeployed. type: str deployment: description: - The name of the deployment. required: true type: str deploy_path: default: /var/lib/jbossas/standalone/deployments description: - The location in the filesystem where the deployment scanner listens. type: path