Fix small typo resulting in a traceback for the apt_key module

reviewable/pr18780/r1
James Cammarata 11 years ago
parent 35b4cf001c
commit 564fbb55de

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

Loading…
Cancel
Save