mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-01 05:53:26 -07:00
riak: command args as list rather than string (#10603)
* riak: command args as list rather than string * add changelog frag
This commit is contained in:
parent
a90759d949
commit
6b7ec5648d
2 changed files with 3 additions and 1 deletions
|
@ -153,7 +153,7 @@ def main():
|
|||
version=version)
|
||||
|
||||
if command == 'ping':
|
||||
cmd = '%s ping %s' % (riak_bin, target_node)
|
||||
cmd = [riak_bin, 'ping', target_node]
|
||||
rc, out, err = module.run_command(cmd)
|
||||
if rc == 0:
|
||||
result['ping'] = out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue