Commit 46c0eb2f by James Cammarata

Merge pull request #7022 from jjshoe/patch-1

apt_key lists all keys in uppercase
parents d5e4b665 5258f757
...@@ -210,6 +210,7 @@ def main(): ...@@ -210,6 +210,7 @@ def main():
_ = int(key_id, 16) _ = int(key_id, 16)
if key_id.startswith('0x'): if key_id.startswith('0x'):
key_id = key_id[2:] key_id = key_id[2:]
key_id = key_id.upper()
except ValueError: except ValueError:
module.fail_json(msg="Invalid key_id", id=key_id) module.fail_json(msg="Invalid key_id", id=key_id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment