I've previously used Ansible to manage x86 server hardware, so I'm used to having access to hardware make/model etc. info via Ansible facts.
I'm currently managing a fleet of hardware which includes several different models of small Linux ARM processor devices (think Raspberry Pi 3 classes of class hardware). The hardware facts which ansible usually provides on Linux makes use of x86-specific technologies like DMI https://en.wikipedia.org/wiki/Desktop_Management_Interface to expose hardware manufacturer information which is reported by the manufacturer's firmware via get_dmi_facts() in ansible/module_utils/facts/hardware/linux.py To expedite development, I made a trivial (18 line) patch to ansible/module_utils/facts/hardware/linux.py to record the hardware board "model" and "compatible" which is passed to Linux by the device firmware via the "Device Tree" hardware description standard which is used on most ARM (and RISC-V, etc.) architectures devices, including nearly all Android devices (and exposed by Linux under /sys/firmware/devicetree/ ). Before I contribute this patch, I was wondering whether it is appropriate to add this functionality to ansible/module_utils/facts/hardware/linux.py ? Would these facts be better collected by a module? Thanks, Tim. -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/ebcbaa66-65a9-4c99-bee1-18f2b9a9985fn%40googlegroups.com.