From e87f2caaaac7f1be719bba1d91c534006b31bc04 Mon Sep 17 00:00:00 2001 From: George Ghawali Date: Wed, 11 Dec 2024 15:58:31 +0200 Subject: [PATCH] Adding integration fixes for V3 --- .../ntnx_address_groups/tasks/main.yml | 14 +++++----- .../ntnx_address_groups_info/tasks/main.yml | 6 ++--- .../targets/ntnx_categories/tasks/main.yml | 6 ++--- .../ntnx_categories_info/tasks/main.yml | 6 ++--- .../targets/ntnx_clusters_info/tasks/main.yml | 6 ++--- .../targets/ntnx_hosts_info/tasks/main.yml | 6 ++--- .../tasks/main.yml | 6 ++--- .../tasks/main.yml | 14 +++++----- .../targets/ntnx_images/tasks/main.yml | 14 +++++----- .../targets/ntnx_images_info/tasks/main.yml | 6 ++--- .../targets/nutanix_vms/tasks/main.yml | 26 +++++++++---------- 11 files changed, 55 insertions(+), 55 deletions(-) diff --git a/tests/integration/targets/ntnx_address_groups/tasks/main.yml b/tests/integration/targets/ntnx_address_groups/tasks/main.yml index 9cfdf76e..e4554ddc 100644 --- a/tests/integration/targets/ntnx_address_groups/tasks/main.yml +++ b/tests/integration/targets/ntnx_address_groups/tasks/main.yml @@ -1,15 +1,15 @@ --- - name: Initializing variables module_defaults: - group/nutanix.ncp.ntnx: + group/nutanix.ncp.ntnx: nutanix_host: "{{ ip }}" nutanix_username: "{{ username }}" nutanix_password: "{{ password }}" validate_certs: "{{ validate_certs }}" block: - - name: Import create.yml - ansible.builtin.import_tasks: "create.yml" - - name: Import update.yml - ansible.builtin.import_tasks: "update.yml" - - name: Import delete.yml - ansible.builtin.import_tasks: "delete.yml" + - name: Import create.yml + ansible.builtin.import_tasks: "create.yml" + - name: Import update.yml + ansible.builtin.import_tasks: "update.yml" + - name: Import delete.yml + ansible.builtin.import_tasks: "delete.yml" diff --git a/tests/integration/targets/ntnx_address_groups_info/tasks/main.yml b/tests/integration/targets/ntnx_address_groups_info/tasks/main.yml index 4156c2d0..1198ff65 100644 --- a/tests/integration/targets/ntnx_address_groups_info/tasks/main.yml +++ b/tests/integration/targets/ntnx_address_groups_info/tasks/main.yml @@ -1,11 +1,11 @@ --- - name: Initializing variables module_defaults: - group/nutanix.ncp.ntnx: + group/nutanix.ncp.ntnx: nutanix_host: "{{ ip }}" nutanix_username: "{{ username }}" nutanix_password: "{{ password }}" validate_certs: "{{ validate_certs }}" block: - - name: Import create.yml - ansible.builtin.import_tasks: "address_groups_info.yml" + - name: Import create.yml + ansible.builtin.import_tasks: "address_groups_info.yml" diff --git a/tests/integration/targets/ntnx_categories/tasks/main.yml b/tests/integration/targets/ntnx_categories/tasks/main.yml index 820d2df6..76916a64 100644 --- a/tests/integration/targets/ntnx_categories/tasks/main.yml +++ b/tests/integration/targets/ntnx_categories/tasks/main.yml @@ -1,11 +1,11 @@ --- - name: Initializing variables module_defaults: - group/nutanix.ncp.ntnx: + group/nutanix.ncp.ntnx: nutanix_host: "{{ ip }}" nutanix_username: "{{ username }}" nutanix_password: "{{ password }}" validate_certs: "{{ validate_certs }}" block: - - name: Import all_operations.yml - ansible.builtin.import_tasks: "all_operations.yml" + - name: Import all_operations.yml + ansible.builtin.import_tasks: "all_operations.yml" diff --git a/tests/integration/targets/ntnx_categories_info/tasks/main.yml b/tests/integration/targets/ntnx_categories_info/tasks/main.yml index 79fd2a50..a37bd6bd 100644 --- a/tests/integration/targets/ntnx_categories_info/tasks/main.yml +++ b/tests/integration/targets/ntnx_categories_info/tasks/main.yml @@ -1,11 +1,11 @@ --- - name: Initializing variables module_defaults: - group/nutanix.ncp.ntnx: + group/nutanix.ncp.ntnx: nutanix_host: "{{ ip }}" nutanix_username: "{{ username }}" nutanix_password: "{{ password }}" validate_certs: "{{ validate_certs }}" block: - - name: Import info.yml - ansible.builtin.import_tasks: "info.yml" + - name: Import info.yml + ansible.builtin.import_tasks: "info.yml" diff --git a/tests/integration/targets/ntnx_clusters_info/tasks/main.yml b/tests/integration/targets/ntnx_clusters_info/tasks/main.yml index 2acd600a..94ef5e38 100644 --- a/tests/integration/targets/ntnx_clusters_info/tasks/main.yml +++ b/tests/integration/targets/ntnx_clusters_info/tasks/main.yml @@ -1,11 +1,11 @@ --- - name: Initializing variables module_defaults: - group/nutanix.ncp.ntnx: + group/nutanix.ncp.ntnx: nutanix_host: "{{ ip }}" nutanix_username: "{{ username }}" nutanix_password: "{{ password }}" validate_certs: "{{ validate_certs }}" block: - - name: Import get_clusters_info.yml - ansible.builtin.import_tasks: "get_clusters_info.yml" + - name: Import get_clusters_info.yml + ansible.builtin.import_tasks: "get_clusters_info.yml" diff --git a/tests/integration/targets/ntnx_hosts_info/tasks/main.yml b/tests/integration/targets/ntnx_hosts_info/tasks/main.yml index 5f8b994c..d8e77cc9 100644 --- a/tests/integration/targets/ntnx_hosts_info/tasks/main.yml +++ b/tests/integration/targets/ntnx_hosts_info/tasks/main.yml @@ -1,11 +1,11 @@ --- - name: Initializing variables module_defaults: - group/nutanix.ncp.ntnx: + group/nutanix.ncp.ntnx: nutanix_host: "{{ ip }}" nutanix_username: "{{ username }}" nutanix_password: "{{ password }}" validate_certs: "{{ validate_certs }}" block: - - name: Import get_hosts_info.yml - ansible.builtin.import_tasks: "get_hosts_info.yml" + - name: Import get_hosts_info.yml + ansible.builtin.import_tasks: "get_hosts_info.yml" diff --git a/tests/integration/targets/ntnx_image_placement_policies_info/tasks/main.yml b/tests/integration/targets/ntnx_image_placement_policies_info/tasks/main.yml index 79fd2a50..a37bd6bd 100644 --- a/tests/integration/targets/ntnx_image_placement_policies_info/tasks/main.yml +++ b/tests/integration/targets/ntnx_image_placement_policies_info/tasks/main.yml @@ -1,11 +1,11 @@ --- - name: Initializing variables module_defaults: - group/nutanix.ncp.ntnx: + group/nutanix.ncp.ntnx: nutanix_host: "{{ ip }}" nutanix_username: "{{ username }}" nutanix_password: "{{ password }}" validate_certs: "{{ validate_certs }}" block: - - name: Import info.yml - ansible.builtin.import_tasks: "info.yml" + - name: Import info.yml + ansible.builtin.import_tasks: "info.yml" diff --git a/tests/integration/targets/ntnx_image_placement_policy/tasks/main.yml b/tests/integration/targets/ntnx_image_placement_policy/tasks/main.yml index 9cfdf76e..e4554ddc 100644 --- a/tests/integration/targets/ntnx_image_placement_policy/tasks/main.yml +++ b/tests/integration/targets/ntnx_image_placement_policy/tasks/main.yml @@ -1,15 +1,15 @@ --- - name: Initializing variables module_defaults: - group/nutanix.ncp.ntnx: + group/nutanix.ncp.ntnx: nutanix_host: "{{ ip }}" nutanix_username: "{{ username }}" nutanix_password: "{{ password }}" validate_certs: "{{ validate_certs }}" block: - - name: Import create.yml - ansible.builtin.import_tasks: "create.yml" - - name: Import update.yml - ansible.builtin.import_tasks: "update.yml" - - name: Import delete.yml - ansible.builtin.import_tasks: "delete.yml" + - name: Import create.yml + ansible.builtin.import_tasks: "create.yml" + - name: Import update.yml + ansible.builtin.import_tasks: "update.yml" + - name: Import delete.yml + ansible.builtin.import_tasks: "delete.yml" diff --git a/tests/integration/targets/ntnx_images/tasks/main.yml b/tests/integration/targets/ntnx_images/tasks/main.yml index 83f52f1a..65a6e295 100644 --- a/tests/integration/targets/ntnx_images/tasks/main.yml +++ b/tests/integration/targets/ntnx_images/tasks/main.yml @@ -1,15 +1,15 @@ --- - name: Set module defaults module_defaults: - group/nutanix.ncp.ntnx: + group/nutanix.ncp.ntnx: nutanix_host: "{{ ip }}" nutanix_username: "{{ username }}" nutanix_password: "{{ password }}" validate_certs: "{{ validate_certs }}" block: - - name: Import create.yml - ansible.builtin.import_tasks: "create.yml" - - name: Import update.yml - ansible.builtin.import_tasks: "update.yml" - - name: Import delete.yml - ansible.builtin.import_tasks: "delete.yml" + - name: Import create.yml + ansible.builtin.import_tasks: "create.yml" + - name: Import update.yml + ansible.builtin.import_tasks: "update.yml" + - name: Import delete.yml + ansible.builtin.import_tasks: "delete.yml" diff --git a/tests/integration/targets/ntnx_images_info/tasks/main.yml b/tests/integration/targets/ntnx_images_info/tasks/main.yml index 288e27d3..74e773fc 100644 --- a/tests/integration/targets/ntnx_images_info/tasks/main.yml +++ b/tests/integration/targets/ntnx_images_info/tasks/main.yml @@ -1,11 +1,11 @@ --- - name: Set module defaults module_defaults: - group/nutanix.ncp.ntnx: + group/nutanix.ncp.ntnx: nutanix_host: "{{ ip }}" nutanix_username: "{{ username }}" nutanix_password: "{{ password }}" validate_certs: "{{ validate_certs }}" block: - - name: Import info.yml - ansible.builtin.import_tasks: "info.yml" + - name: Import info.yml + ansible.builtin.import_tasks: "info.yml" diff --git a/tests/integration/targets/nutanix_vms/tasks/main.yml b/tests/integration/targets/nutanix_vms/tasks/main.yml index 7020053b..54eee0d1 100644 --- a/tests/integration/targets/nutanix_vms/tasks/main.yml +++ b/tests/integration/targets/nutanix_vms/tasks/main.yml @@ -1,21 +1,21 @@ --- - name: Set module defaults module_defaults: - group/nutanix.ncp.ntnx: + group/nutanix.ncp.ntnx: nutanix_host: "{{ ip }}" nutanix_username: "{{ username }}" nutanix_password: "{{ password }}" validate_certs: "{{ validate_certs }}" block: - - name: Import create.yml - ansible.builtin.import_tasks: "create.yml" - - name: Import negtaive_scenarios.yml - ansible.builtin.import_tasks: "negtaive_scenarios.yml" - - name: Import delete.yml - ansible.builtin.import_tasks: "delete.yml" - - name: Import vm_operations.yml - ansible.builtin.import_tasks: "vm_operations.yml" - - name: Import vm_update.yml - ansible.builtin.import_tasks: "vm_update.yml" - - name: Import negtaive_vm_update.yml - ansible.builtin.import_tasks: "negtaive_vm_update.yml" + - name: Import create.yml + ansible.builtin.import_tasks: "create.yml" + - name: Import negtaive_scenarios.yml + ansible.builtin.import_tasks: "negtaive_scenarios.yml" + - name: Import delete.yml + ansible.builtin.import_tasks: "delete.yml" + - name: Import vm_operations.yml + ansible.builtin.import_tasks: "vm_operations.yml" + - name: Import vm_update.yml + ansible.builtin.import_tasks: "vm_update.yml" + - name: Import negtaive_vm_update.yml + ansible.builtin.import_tasks: "negtaive_vm_update.yml"