mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Still more shell fixes.
This commit is contained in:
parent
98500b335b
commit
78ebf5d266
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ def all_keys(module, keyring):
|
||||||
return results
|
return results
|
||||||
|
|
||||||
def key_present(module, key_id):
|
def key_present(module, key_id):
|
||||||
(rc, out, err) = module.run_command("apt-key list | 2>&1 grep -i -q %s" % key_id)
|
(rc, out, err) = module.run_command("apt-key list | 2>&1 grep -i -q %s" % pipes.quote(key_id), use_unsafe_shell=True)
|
||||||
return rc == 0
|
return rc == 0
|
||||||
|
|
||||||
def download_key(module, url):
|
def download_key(module, url):
|
||||||
|
|
Loading…
Reference in a new issue