mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
This commit is contained in:
parent
3e20acbd79
commit
3c65c2bfaf
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ class AIXHardware(Hardware):
|
||||||
vgs_facts = {}
|
vgs_facts = {}
|
||||||
lsvg_path = self.module.get_bin_path("lsvg")
|
lsvg_path = self.module.get_bin_path("lsvg")
|
||||||
xargs_path = self.module.get_bin_path("xargs")
|
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:
|
if lsvg_path and xargs_path:
|
||||||
rc, out, err = self.module.run_command(cmd, use_unsafe_shell=True)
|
rc, out, err = self.module.run_command(cmd, use_unsafe_shell=True)
|
||||||
if rc == 0 and out:
|
if rc == 0 and out:
|
||||||
|
|
Loading…
Reference in a new issue