fix: return result of batch execution
This commit is contained in:
parent
6a5b430597
commit
936faac069
@ -90,11 +90,11 @@ class ActionModule(ActionBase):
|
||||
result = merge_hash(result, dict(changed=True))
|
||||
|
||||
if not dry_run:
|
||||
self.execute_command(
|
||||
result = merge_hash(result, self.execute_command(
|
||||
'{} --output-json'.format(cli_command),
|
||||
stdin=batch_script,
|
||||
check_mode_unsafe=True
|
||||
)
|
||||
))
|
||||
|
||||
return result
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user