Patch Recap -- Can we access the PLAY RECAP data?

29 views
Skip to first unread message

johhue

unread,
Nov 2, 2016, 2:31:49 PM11/2/16
to Ansible Project
Hello, I am running a playbook and would like to know the name of the object where I can access the PLAY RECAP statuses/return code.

For example here:

PLAY RECAP *********************************************************************
host1 : ok=10   changed=3    unreachable=0    failed=0
host2 : ok=10   changed=3    unreachable=0    failed=0
host3 : ok=10   changed=3    unreachable=0    failed=0
host4 : ok=10   changed=3    unreachable=0    failed=0
host5 : ok=10   changed=3    unreachable=0    failed=0
host6 : ok=10   changed=3    unreachable=0    failed=0
host7 : ok=10   changed=3    unreachable=0    failed=0


I want to insert the information into a table so I can query later. Is there a way to access this?

Brian Coca

unread,
Nov 4, 2016, 2:56:33 PM11/4/16
to ansible...@googlegroups.com
​where? currently it is built in the callback, those plugins do not have any way to feed data elsewhere.​


----------
Brian Coca
Reply all
Reply to author
Forward
0 new messages