1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix small typo resulting in a traceback for the apt_key module

This commit is contained in:
James Cammarata 2014-03-13 12:58:20 -05:00
parent b0d22b76bd
commit b93b99871b

View file

@ -112,7 +112,7 @@ REQUIRED_EXECUTABLES=['gpg', 'grep', 'apt-key']
def check_missing_binaries(module):
missing = [e for e in REQUIRED_EXECUTABLES if not find_executable(e)]
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):
if keyring: