# Deploying a application using WAR file on Websphere

**URL:** <https://forum.ansible.com/t/deploying-a-application-using-war-file-on-websphere/33727>\
**Category:** Ansible Project\
**Created:** [September 2, 2020, 11:01am UTC](https://forum.ansible.com/t/deploying-a-application-using-war-file-on-websphere/33727 "2020-09-02T11:01:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rachna\_Dodia](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@Rachna\_Dodia](https://forum.ansible.com/u/Rachna_Dodia)\
**Post date:** [September 2, 2020, 11:01am UTC](https://forum.ansible.com/t/deploying-a-application-using-war-file-on-websphere/33727/1 "2020-09-02T11:01:29Z")

</div>

Need your inputs on how to go forward with deploying application using WAR file on Websphere using Ansible.

I cannot see any modules or playbooks related to the same.

Looking for any suggestion or approach how to take this forward.

Thanks,  
Rachna Dodia

---

<div class="post-metadata">

**Author:** ![Avinash\_Jadhav](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@Avinash\_Jadhav](https://forum.ansible.com/u/Avinash_Jadhav)\
**Post date:** [September 2, 2020, 11:15am UTC](https://forum.ansible.com/t/deploying-a-application-using-war-file-on-websphere/33727/2 "2020-09-02T11:15:33Z")

</div>

Hi Rachna,

Please find below playbook for war file deployment you need to changes your sources WAR and destination for Websphere

Thank you  
Avinash

---

<div class="post-metadata">

**Author:** ![Akasurde](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/akasurde/32/230_2.png) [@Akasurde](https://forum.ansible.com/u/Akasurde)\
**Post date:** [September 2, 2020, 11:17am UTC](https://forum.ansible.com/t/deploying-a-application-using-war-file-on-websphere/33727/3 "2020-09-02T11:17:37Z")

</div>

Check examples like

1. [https://github.com/ansible/ansible-examples/blob/bedca7401f01411ec9d1b9231f5dc4a19ba12960/tomcat-memcached-failover/roles/tomcat/tasks/main.yml](https://github.com/ansible/ansible-examples/blob/bedca7401f01411ec9d1b9231f5dc4a19ba12960/tomcat-memcached-failover/roles/tomcat/tasks/main.yml)
2. [https://github.com/ansible/ansible-examples/blob/59484f4fbfaa8d2c3938661c296ed6c9ae27d956/jboss-standalone/roles/java-app/tasks/main.yml](https://github.com/ansible/ansible-examples/blob/59484f4fbfaa8d2c3938661c296ed6c9ae27d956/jboss-standalone/roles/java-app/tasks/main.yml)

---

<div class="post-metadata">

**Author:** ![Rachna\_Dodia](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@Rachna\_Dodia](https://forum.ansible.com/u/Rachna_Dodia)\
**Post date:** [September 2, 2020, 12:06pm UTC](https://forum.ansible.com/t/deploying-a-application-using-war-file-on-websphere/33727/4 "2020-09-02T12:06:52Z")

</div>

Thanks for the response.

@Abhijeet , the example which you have shared have already available modules for JBOSS deployment.

Where I cannot see or map any module as such for application deployment on Websphere.

Thanks,  
Rachna Dodia

---

<div class="post-metadata">

**Author:** ![Supriyo\_Sarkar](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@Supriyo\_Sarkar](https://forum.ansible.com/u/Supriyo_Sarkar)\
**Post date:** [May 17, 2023, 9:07am UTC](https://forum.ansible.com/t/deploying-a-application-using-war-file-on-websphere/33727/5 "2023-05-17T09:07:01Z")

</div>

Hi, Do you have any solution till now? I am also looking for answers for the same.
