I have several tasks to do with ansible ( because it is great environment). However I want to achieve two things:
- have on stdout only exactly what I want ( I mean only this output which I place in msg variable, and NOTHING ELSE)
- I would like to be able to use this output as input via pipe to other tools like grep, awk, sed etc.
Is there any way ( without writing my own C++, Perl, Cobol, SQL, VisualBasic and Java whatever, code) to do it? As the only option if You have to write eternal code - I allow assembler code, so if You would like to propose something like that: feel free!