mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Styling: semicolon
This commit is contained in:
parent
ecc2b6e742
commit
681696846a
1 changed files with 1 additions and 1 deletions
|
@ -1181,7 +1181,7 @@ class HPUX(Hardware):
|
|||
rc, out, err = module.run_command("/usr/contrib/bin/machinfo |grep Intel |cut -d' ' -f4-")
|
||||
self.facts['processor'] = out.strip()
|
||||
else:
|
||||
rc, out, err = module.run_command("/usr/contrib/bin/machinfo |egrep 'socket[s]?$' | tail -1");
|
||||
rc, out, err = module.run_command("/usr/contrib/bin/machinfo |egrep 'socket[s]?$' | tail -1")
|
||||
self.facts['processor_count'] = int(out.strip().split(" ")[0])
|
||||
rc, out, err = module.run_command("/usr/contrib/bin/machinfo |grep -e '[0-9] core' |tail -1")
|
||||
self.facts['processor_cores'] = int(out.strip().split(" ")[0])
|
||||
|
|
Loading…
Reference in a new issue