mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge conflict
This commit is contained in:
parent
96134d003e
commit
31b63b033b
1 changed files with 0 additions and 6 deletions
|
@ -129,15 +129,9 @@ def download_key(module, url):
|
|||
module.fail_json(msg="error getting key id from url", traceback=format_exc())
|
||||
|
||||
|
||||
<<<<<<< HEAD
|
||||
def add_key(module, key):
|
||||
cmd = "apt-key add -"
|
||||
(rc, out, err) = module.run_command(cmd, data=key, check_rc=True, binary_data=True)
|
||||
=======
|
||||
def add_key(module, key, data=None):
|
||||
cmd = "apt-key add %s" % (key)
|
||||
(rc, out, err) = module.run_command(cmd, data=data, check_rc=True)
|
||||
>>>>>>> 77159d21da40f6fcb0bfdcb1886f57acf68ea4f4
|
||||
return True
|
||||
|
||||
def remove_key(module, key_id):
|
||||
|
|
Loading…
Reference in a new issue