mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #7022 from jjshoe/patch-1
apt_key lists all keys in uppercase
This commit is contained in:
commit
46c0eb2f3e
1 changed files with 1 additions and 0 deletions
|
@ -210,6 +210,7 @@ def main():
|
|||
_ = int(key_id, 16)
|
||||
if key_id.startswith('0x'):
|
||||
key_id = key_id[2:]
|
||||
key_id = key_id.upper()
|
||||
except ValueError:
|
||||
module.fail_json(msg="Invalid key_id", id=key_id)
|
||||
|
||||
|
|
Loading…
Reference in a new issue