On Fri, 26 Feb 2021 04:51:10 -0800 (PST)
Gisbert Haas <[email protected]> wrote:

> .. idea how to email the play recap output only?

Use ansible-runner. The recap will be available among the artifacts
https://ansible-runner.readthedocs.io/en/stable/intro.html#runner-artifacts-directory-hierarchy

FWIW, see example of how to get custom status including the recap
https://ansible-runner-role.readthedocs.io/en/latest/example3-status.html

It should be easy to modify the wrapper to your needs
https://github.com/vbotka/ansible-runner/blob/master/contrib/arwrapper.bash


-- 
Vladimir Botka

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20210226141940.49ffedc8%40gmail.com.

Attachment: pgpdSq8tipW8d.pgp
Description: OpenPGP digital signature

Reply via email to