mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 15:04:02 -07:00
[PR #10823/562d2ae5 backport][stable-11] parted: join command list for fail_json message (#10827)
parted: join command list for fail_json message (#10823)
* parted: join command list for fail_json message
* add changelog frag
(cherry picked from commit 562d2ae5b1
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
bdf0c4e0bf
commit
e1eb88def5
2 changed files with 3 additions and 1 deletions
|
@ -572,7 +572,7 @@ def parted(script, device, align):
|
|||
|
||||
if rc != 0:
|
||||
module.fail_json(
|
||||
msg="Error while running parted script: %s" % command.strip(),
|
||||
msg="Error while running parted script: %s" % " ".join(command).strip(),
|
||||
rc=rc, out=out, err=err
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue