diff --git a/lib/ansible/module_utils/facts/hardware/netbsd.py b/lib/ansible/module_utils/facts/hardware/netbsd.py index 3b58794bf8..c716ea454c 100644 --- a/lib/ansible/module_utils/facts/hardware/netbsd.py +++ b/lib/ansible/module_utils/facts/hardware/netbsd.py @@ -138,9 +138,9 @@ class NetBSDHardware(Hardware): def get_dmi_facts(self): dmi_facts = {} - # We don't use dmidecode(1) here because: + # We don't use dmidecode(8) here because: # - it would add dependency on an external package - # - dmidecode(1) can only be ran as root + # - dmidecode(8) can only be ran as root # So instead we rely on sysctl(8) to provide us the information on a # best-effort basis. As a bonus we also get facts on non-amd64/i386 # platforms this way. diff --git a/lib/ansible/module_utils/facts/hardware/openbsd.py b/lib/ansible/module_utils/facts/hardware/openbsd.py index 04577e4dc8..d66ce21268 100644 --- a/lib/ansible/module_utils/facts/hardware/openbsd.py +++ b/lib/ansible/module_utils/facts/hardware/openbsd.py @@ -146,9 +146,9 @@ class OpenBSDHardware(Hardware): def get_dmi_facts(self): dmi_facts = {} - # We don't use dmidecode(1) here because: + # We don't use dmidecode(8) here because: # - it would add dependency on an external package - # - dmidecode(1) can only be ran as root + # - dmidecode(8) can only be ran as root # So instead we rely on sysctl(8) to provide us the information on a # best-effort basis. As a bonus we also get facts on non-amd64/i386 # platforms this way.