I am having problems doing something I think it should be really easy.
I am writting a rule that remote execs a command and I want the results stored locally. (It is an nmap command)
I think I could do it two rules, one command rule and one fetch rule to download de result, but I do not like it because I should find a temp original non used multiprocess safe remote path to store the result.
I know I can register one variable in rules file with stdout command result, but I do not find some way to store this variable in a local file, that is what i finally want.
Thanks, I will post nest questions in ansible-project.
"copy" module with "content" argument worked for me. The only thing is
that "ntop.stdout" was not raw "[" formatted instead and copy module
complaint about that.