1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

apt_key lists all keys in uppercase

allow for a little user error
This commit is contained in:
jjshoe 2014-04-16 10:06:59 -05:00
parent c5e9a06c2a
commit 5258f75789

View file

@ -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)