dell / redfish-ansible-module

Ansible modules for Out-Of-Band Controllers using Redfish APIs
GNU General Public License v3.0
195 stars 80 forks source link

Add title row when using csvformat=True in idrac_sysinfo.yml #4

Closed jose-delarosa closed 7 years ago

jose-delarosa commented 7 years ago

When creating the final file with all hosts' information (_allhosts_sysinfo_YYYYMMDDHHMMSS.csv), the first row should have the name of each component (i.e. Health, Model, BiosVersion).

jose-delarosa commented 7 years ago

So for example, this should look like:

Health,Model,AssetTag,MemoryGiB,MemoryHealth,CPU,CPUHealth,CPUCount,ConsumedWatts,PowerState,ServiceTag,SerialNumber,
r630,OK,PowerEdge R630,2.4.3,,128,OK,Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz,OK,2,122,On,XYZ1234,CNxxxxxxxMyyyy,
r730,OK,PowerEdge R730,2.4.3,,256,OK,Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz,OK,2,129,On,XYZ1234,CNxxxxxxxMyyyy,
...
jose-delarosa commented 7 years ago

Closed by https://github.com/dell/idrac-ansible-module/pull/12