mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
parted: join command list for fail_json message (#10823)
* parted: join command list for fail_json message * add changelog frag
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user