Jenkins job is success but unable to find war file in the ansible server

need to run playbook but unable to find the war file

[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.649 s
[INFO] Finished at: 2022-12-16T17:56:41Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving /var/lib/jenkins/workspace/project/pom.xml to com.mt/maven-web-application/0.0.1-SNAPSHOT/maven-web-application-0.0.1-SNAPSHOT.pom
[JENKINS] Archiving /var/lib/jenkins/workspace/project/target/maven-web-application.war to com.mt/maven-web-application/0.0.1-SNAPSHOT/maven-web-application-0.0.1-SNAPSHOT.war
channel stopped
SSH: Connecting from host [ip-172-31-92-148]
SSH: Connecting with configuration [ansible_host] …
SSH: Disconnecting configuration [ansible_host] …
SSH: Transferred 0 file(s)
Finished: SUCCESS

Hello @manikandan ,

What are you trying to achieve?
Build a war file and then push it thanks to ansible on a remote machine thanks to an Ansible playbook inside a pipeline?
What kind of pipeline are you using?
Is it possible to use ansible on your agent (without Jenkins)?