for getting the prompts in between of 2 tasks in a single playbook.

I have got the problem that i want some output of first task and from that data i need to put it manually by the help of prompts and after that run the 2nd task.so i achieve this playbook to be run.

The pause module allows you to do this.
https://docs.ansible.com/ansible/latest/modules/pause_module.html