Hello,

I'm new user in Ansible technology and I have a problem with export 
gathering facts about host to .csv file.

I would like to generate report in .csv file from ansible-playbook results. 
Ansible playbook reads facts about hosts and results of tasks and next save 
them to .csv file. It works. But, problem is with hosts which ansible can't 
connect, because finally in my report I have only facts and tasks results 
from hosts which ansible can connect, but about other hosts I don't have 
any information. My idea is that this playbook will be run once a day in 
cron and generate report for me. Next I will be read this report and I will 
be know with witch host ansible have problems for example with connection, 
run task and many other. It's very important in works with hundreds hosts.

So my question is: What Can I export gathering facts from playbook (with 
fatal message too) to external file?

Now my playbook is:


What I can modify my playbook for export gathering facts information to 
.csv about all hosts (fatal too)? Do you have any idea?

Regrads,
Michał

-- 
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/ec0a30bc-d146-4ec0-8c2f-1af7a3f2eb97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to