Your copy syntax is invalid, i'm guessing this is what you want:
copy: content={{ prepatch.stdout }} dest=/tmp/{{petch1}}-prepatch.txt
It also looks wrong as prepatch is a list and does not have a stdout
but a .results, with each item having a stdout
--
----------
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CACVha7cE5zAKv8w%2BMXPY6LwxA68%3DOSKjOfov2BEM2N8%3DgVCw1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.