Commit 5258f757 by jjshoe

apt_key lists all keys in uppercase

allow for a little user error
parent c5e9a06c
...@@ -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