mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
* java_cert - invoke run_command passing list
* added changelog fragment
(cherry picked from commit 6b91c56c4e
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
fad1220869
commit
d2214af6e8
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/3835-java-cert-run-list.yaml
Normal file
2
changelogs/fragments/3835-java-cert-run-list.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- java_cert - calling ``run_command`` with arguments as ``list`` instead of ``str`` (https://github.com/ansible-collections/community.general/pull/3835).
|
|
@ -439,7 +439,7 @@ def delete_cert(module, executable, keystore_path, keystore_pass, alias, keystor
|
|||
|
||||
def test_keytool(module, executable):
|
||||
''' Test if keytool is actually executable or not '''
|
||||
module.run_command("%s" % executable, check_rc=True)
|
||||
module.run_command([executable], check_rc=True)
|
||||
|
||||
|
||||
def test_keystore(module, keystore_path):
|
||||
|
|
Loading…
Reference in a new issue