Use the output of a module inside a class (including task (generator)

In reply to RAGHU_BHAT:

To help you I need the commands in detail. I believe something is wrong with the arguments in the commands.