From e2fce828f6a6bc784ffc3fb87e7990adc1ed7d27 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Sat, 22 Oct 2016 09:29:47 -0700 Subject: [PATCH] Order of return values was reversed --- lib/ansible/modules/packaging/os/apt_key.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/packaging/os/apt_key.py b/lib/ansible/modules/packaging/os/apt_key.py index 656f6e46640..7822578d040 100644 --- a/lib/ansible/modules/packaging/os/apt_key.py +++ b/lib/ansible/modules/packaging/os/apt_key.py @@ -288,7 +288,7 @@ def main(): short_format = False if key_id: try: - key_id, fingerprint, short_key_id = parse_key_id(key_id) + short_key_id, fingerprint, key_id = parse_key_id(key_id) except ValueError: module.fail_json(msg='Invalid key_id', id=key_id)