Need Help for RAW module

This is my play book :

each raw command is a different shell, you cannot use it to handle a
program interactively, that is what the expect module is for