diff options
author | Adrian Likins <alikins@redhat.com> | 2017-06-07 13:56:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-07 13:56:15 -0400 |
commit | 24f2a616dd8894361eb66fa0f5c6e8ea3aa08cfd (patch) | |
tree | fc7a562d194701f243bf90a477265242720ee5eb | |
parent | 656db3707c369667e57c6ad51ca050825ac52da4 (diff) | |
download | ansible-24f2a616dd8894361eb66fa0f5c6e8ea3aa08cfd.tar.gz |
Fix manual reference for dmidecode (#25444)
dmidecode(1) does not exist, dmidecode(8) does exists.
(rebased from https://github.com/ansible/ansible/pull/24106)
-rw-r--r-- | lib/ansible/module_utils/facts/hardware/netbsd.py | 4 | ||||
-rw-r--r-- | lib/ansible/module_utils/facts/hardware/openbsd.py | 4 |
2 files changed, 4 insertions, 4 deletions
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. |