mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Use kstat for Solaris CPU info
This commit is contained in:
@@ -655,7 +655,7 @@ class SunOSHardware(Hardware):
|
||||
return self.facts
|
||||
|
||||
def get_cpu_facts(self):
|
||||
rc, out, err = module.run_command("/usr/sbin/kstat cpu_info")
|
||||
rc, out, err = module.run_command("/usr/bin/kstat cpu_info")
|
||||
self.facts['processor'] = []
|
||||
for line in out.split('\n'):
|
||||
if len(line) < 1:
|
||||
|
||||
Reference in New Issue
Block a user