From 8238fe471ec40dedd819c5001513de8cc6b05c30 Mon Sep 17 00:00:00 2001 From: Jiri Macku Date: Wed, 10 Apr 2019 09:21:19 +0200 Subject: [PATCH] Specify the module name in ansible 2.7 Since the changes in the ovirt_disk will come to ansible 2.8 make sure this version from library folder is going to be used in ansible 2.7. --- library/{ovirt_disk.py => ovirt_disk_27.py} | 0 tasks/create_target_vm/01_create_target_hosted_engine_vm.yml | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename library/{ovirt_disk.py => ovirt_disk_27.py} (100%) diff --git a/library/ovirt_disk.py b/library/ovirt_disk_27.py similarity index 100% rename from library/ovirt_disk.py rename to library/ovirt_disk_27.py diff --git a/tasks/create_target_vm/01_create_target_hosted_engine_vm.yml b/tasks/create_target_vm/01_create_target_hosted_engine_vm.yml index 89f0631..e6607d0 100644 --- a/tasks/create_target_vm/01_create_target_hosted_engine_vm.yml +++ b/tasks/create_target_vm/01_create_target_hosted_engine_vm.yml @@ -119,7 +119,7 @@ register: storage_domain_details - debug: var=storage_domain_details - name: Add HE disks - ovirt_disk: + ovirt_disk_27: name: "{{ item.name }}" size: "{{ item.size }}" format: "{{ item.format }}"