in ansible 1.x, we can do
results = runner.run()
to retrieve stdout. See https://github.com/networktocode/ntc-ansible/issues/108, I wonder it is possible in ansible 2.0 to do similar thing?
I understand that it can be done by implementing a callback plugin to write the stdout to a file then read from the file.
Thanks,
Huan