From bb7e7be71f81481574f3b5a7f97d61da61baf83d Mon Sep 17 00:00:00 2001 From: Ondra Machacek Date: Wed, 15 Mar 2017 13:03:18 +0100 Subject: [PATCH] cloud: ovirt: Fix disk image upload (#22557) --- lib/ansible/modules/cloud/ovirt/ovirt_disks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_disks.py b/lib/ansible/modules/cloud/ovirt/ovirt_disks.py index 37800a5f848..3169b28923c 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_disks.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_disks.py @@ -521,7 +521,7 @@ def main(): try: disk = None state = module.params['state'] - auth = module.params.pop('auth') + auth = module.params.get('auth') connection = create_connection(auth) disks_service = connection.system_service().disks_service() disks_module = DisksModule(