# deploy WAR file in IBM Webshpere application server ND9 (AIX server 7.1)

**URL:** <https://forum.ansible.com/t/deploy-war-file-in-ibm-webshpere-application-server-nd9-aix-server-7-1/31810>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [December 12, 2019, 10:16am UTC](https://forum.ansible.com/t/deploy-war-file-in-ibm-webshpere-application-server-nd9-aix-server-7-1/31810 "2019-12-12T10:16:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![racke](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/racke/32/4767_2.png) [@racke](https://forum.ansible.com/u/racke)\
**Post date:** [December 12, 2019, 10:16am UTC](https://forum.ansible.com/t/deploy-war-file-in-ibm-webshpere-application-server-nd9-aix-server-7-1/31810/1 "2019-12-12T10:16:51Z")

</div>

> We are unable to deploy WAR file in IBM Webshpere application server ND9 (AIX server 7.1) through ansible.
> 
> tasks:  
> name: copying the war file from the existing WAS deployment folder to backup  
> shell: sh wsadmin.sh -username wsadmin -password wsadmin && "AdminConfig.save()" && exit && exit && sh stopServer.sh  
> server2 -username wasadmin -password ??? && sh startServer.sh server2
> 
> we get the wsadmin\> prompt in ansible server, please do let me know how to deploy war file in IBM Webshpere application  
> server through ansible via Jython or python.

That's not a Ansible question. Find out why wsadmin uses the prompt.

Regards  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Racke
