diff --git a/packaging/apt_key b/packaging/apt_key index e071833c3be..d5473558801 100644 --- a/packaging/apt_key +++ b/packaging/apt_key @@ -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: