mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Fix small typo resulting in a traceback for the apt_key module
This commit is contained in:
@@ -112,7 +112,7 @@ REQUIRED_EXECUTABLES=['gpg', 'grep', 'apt-key']
|
|||||||
def check_missing_binaries(module):
|
def check_missing_binaries(module):
|
||||||
missing = [e for e in REQUIRED_EXECUTABLES if not find_executable(e)]
|
missing = [e for e in REQUIRED_EXECUTABLES if not find_executable(e)]
|
||||||
if len(missing):
|
if len(missing):
|
||||||
module.fail_json(msg="binaries are missing", names=all)
|
module.fail_json(msg="binaries are missing", names=missing)
|
||||||
|
|
||||||
def all_keys(module, keyring):
|
def all_keys(module, keyring):
|
||||||
if keyring:
|
if keyring:
|
||||||
|
|||||||
Reference in New Issue
Block a user