Merge pull request #5604 from dbrgn/devel
apt_key module: Case insensitive presence checking
This commit is contained in:
commit
77f9519f01
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ def all_keys(module, keyring):
|
|||
return results
|
||||
|
||||
def key_present(module, key_id):
|
||||
(rc, out, err) = module.run_command("apt-key list | 2>&1 grep -q %s" % key_id)
|
||||
(rc, out, err) = module.run_command("apt-key list | 2>&1 grep -i -q %s" % key_id)
|
||||
return rc == 0
|
||||
|
||||
def download_key(module, url):
|
||||
|
|
Loading…
Reference in a new issue