1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[PR #8176/8491bf7b backport][stable-8] fix(aix_filesystem): remove extra param from running lsvg (#8209)

fix(aix_filesystem): remove extra param from running lsvg (#8176)

* fix(aix_filesystem): remove extra param from running lsvg

* chore: add new line to changlog file

* Update 8151-fix-lsvg_cmd-failed.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 8491bf7b49)

Co-authored-by: Peter Shen <xianpeng.shen@gmail.com>
This commit is contained in:
patchback[bot] 2024-04-09 08:01:28 +02:00 committed by GitHub
parent 2cf6fdf2c3
commit 39dd596e67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- aix_filesystem - fix ``_validate_vg`` not passing VG name to ``lsvg_cmd`` (https://github.com/ansible-collections/community.general/issues/8151).

View file

@ -242,7 +242,7 @@ def _validate_vg(module, vg):
if rc != 0: if rc != 0:
module.fail_json(msg="Failed executing %s command." % lsvg_cmd) module.fail_json(msg="Failed executing %s command." % lsvg_cmd)
rc, current_all_vgs, err = module.run_command([lsvg_cmd, "%s"]) rc, current_all_vgs, err = module.run_command([lsvg_cmd])
if rc != 0: if rc != 0:
module.fail_json(msg="Failed executing %s command." % lsvg_cmd) module.fail_json(msg="Failed executing %s command." % lsvg_cmd)