I hope this finds you all well.
I´m struggling to generate a CSV from multiple facts corresponding to the same hosts.
More specifically, I have the following facts:
ntp_status:
host01: Clock is synchronized
host02: Clock is synchronized
host03: Clock is not synchronized
ping_status:
host01: Ping success
host02: Ping not success
host03: Ping success
The idea is to have a report in a CSV file report.csv, hence I would expect to generate with Jinja something like the following:
host, ntp_status, ping_status
host01, Clock is synchronized, Ping success
host02, Clock is synchronized, Ping not success
host03, Clock is not synchronized, Ping success
I hope you can help me with this. Thank you in advance