Add DMI facts on NetBSD and refactor code (#18388)
Add DMI facts on NetBSD and refactor code (#18388)

* Add support for OpenBSD dmi fact gathering

* Refactor get_sysctl in the Hardware class

Due to difference between Darwin/NetBSD and OpenBSD, we
have to change the regexp used split the key/value

* Add support for dmi facts on NetBSD

thaim/ansible,thaim/ansible