backup latest two war files and delete old war in jenkins

Hi team,

How to backup only latest two war files in jenkins and delete old war files how can we achieve using ansible playbook. can u someone share playbook for that please

Regards
Mahesh Kumar

Hi, this forum is meant for solving specific problems, not as an
oracle that will respond with ready-to-use playbooks to whatever you
ask it...

Noted with thanks