How to convert the git hub project to war file using ansible playbook

Hi Team,

I have created the ansible playbook from the git hub repository as developers provided unable to convert the war file using java code using playbook.

Using jenkins its possible but i dont want use jenkins here.

is there any solution for this.