mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07: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
Add a link
Reference in a new issue