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:
parent
b0d22b76bd
commit
b93b99871b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue