fboender / ansible-cmdb

Generate host overview from ansible fact gathering output
GNU General Public License v3.0
2.35k stars 467 forks source link

FreeBSD support #118

Open djadk84 opened 7 years ago

djadk84 commented 7 years ago

I was trying to use ansible-cmdb, but most of my servers are running FreeBSD and almost of the ansible variables that ansible_cmdb is based on aren't the same on a BSD OS. It would be great if you guys make ansible_cmdb compatible with the BSD family.Thanks

fboender commented 7 years ago

Hi!

I'm currently working on this. I'll keep you updated.

landryb commented 6 years ago

Would also support this, my FreeNAS (hosts, and jails) and OpenBSD kvm guests correctly show the os version/kernel, but not product name/serial/vcpus/mem/swap/physdisk size. Between those i don't know which ones are supposed to come from ansible facts and are not parsed/recognized by ansible-cmdb, or the ones that are just plain missing from ansible (tried with 2.2.1 here)

fboender commented 6 years ago

Can you send me the output of one of the ansible facts files (output of ansible -m setup ....) so I can have a look? You can send it to ferry.boender@gmail.com. It will be treated confidentially and completely wiped after I no longer need it.

Regards,

Ferry

landryb commented 6 years ago

Just sent you the facts from my json cache, but it seems some of the missing facts are actually missing from ansible itself (ie product info, virt type for jails...)

djadk84 commented 6 years ago

@fboender do you still need ansible -m setup?

fboender commented 6 years ago

@djadk84 It would be helpful, yeah. I have to admit that I'm swamped with other work right now, so I've got very little time to work on this. I hope to get around to it in the near future though.