allow apt-key module to work with binary key
This commit is contained in:
parent
12cd6e2a50
commit
7d9eb14b2a
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ def download_key(module, url):
|
|||
|
||||
def add_key(module, key):
|
||||
cmd = "apt-key add -"
|
||||
(rc, out, err) = module.run_command(cmd, data=key, check_rc=True)
|
||||
(rc, out, err) = module.run_command(cmd, data=key, check_rc=True, binary_data=True)
|
||||
return True
|
||||
|
||||
def remove_key(module, key_id):
|
||||
|
|
Loading…
Reference in a new issue