hi,
i want use ansible as “data miner”. like get information X from 100 hosts and report it to the local file (on ansible host) or export it to the elasticsearch server
can you recommend the best way?
thanks
hi,
i want use ansible as “data miner”. like get information X from 100 hosts and report it to the local file (on ansible host) or export it to the elasticsearch server
can you recommend the best way?
thanks
look at the -t option for the ansible ad-hoc
i’m using playbook
i prefer formatted report with jinja (something like template modul)
Dne pátek, 21. listopadu 2014 15:18:41 UTC+1 Brian Coca napsal(a):
there are filters to output json you can use with templates to create
valid json files, which you can use with the uri module to post
directly to elastic search.