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:
parent
52d4907480
commit
6b91c56c4e
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):
|
def test_keytool(module, executable):
|
||||||
''' Test if keytool is actually executable or not '''
|
''' 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):
|
def test_keystore(module, keystore_path):
|
||||||
|
|
Loading…
Reference in a new issue