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

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
         Racke