1
0
Fork 0
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 (#3835)

* java_cert - invoke run_command passing list

* added changelog fragment
This commit is contained in:
Alexei Znamensky 2021-12-03 19:27:03 +13:00 committed by GitHub
parent 52d4907480
commit 6b91c56c4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View 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).

View file

@ -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):