mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
This commit is contained in:
@@ -146,7 +146,7 @@ class AIXHardware(Hardware):
|
||||
vgs_facts = {}
|
||||
lsvg_path = self.module.get_bin_path("lsvg")
|
||||
xargs_path = self.module.get_bin_path("xargs")
|
||||
cmd = "%s | %s %s -p" % (lsvg_path, xargs_path, lsvg_path)
|
||||
cmd = "%s -o | %s %s -p" % (lsvg_path, xargs_path, lsvg_path)
|
||||
if lsvg_path and xargs_path:
|
||||
rc, out, err = self.module.run_command(cmd, use_unsafe_shell=True)
|
||||
if rc == 0 and out:
|
||||
|
||||
Reference in New Issue
Block a user