diff --git a/test/integration/targets/vcenter_folder/tasks/main.yml b/test/integration/targets/vcenter_folder/tasks/main.yml index bcb446f24eb..49980e0b1d3 100644 --- a/test/integration/targets/vcenter_folder/tasks/main.yml +++ b/test/integration/targets/vcenter_folder/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vcenter_license/tasks/main.yml b/test/integration/targets/vcenter_license/tasks/main.yml index 76498971dc9..8fd2dd9df0d 100644 --- a/test/integration/targets/vcenter_license/tasks/main.yml +++ b/test/integration/targets/vcenter_license/tasks/main.yml @@ -2,11 +2,6 @@ # Copyright: (c) 2017, Dag Wieers # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: Make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - - name: Store the vCenter container IP set_fact: vcenter_host: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_cluster/tasks/main.yml b/test/integration/targets/vmware_cluster/tasks/main.yml index 1ef660e40e9..e0282aa6d7d 100644 --- a/test/integration/targets/vmware_cluster/tasks/main.yml +++ b/test/integration/targets/vmware_cluster/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2017, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: Make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_datacenter/tasks/main.yml b/test/integration/targets/vmware_datacenter/tasks/main.yml index cfbc77b673b..5ddd21f4953 100644 --- a/test/integration/targets/vmware_datacenter/tasks/main.yml +++ b/test/integration/targets/vmware_datacenter/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2017, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: Make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_datastore_facts/tasks/main.yml b/test/integration/targets/vmware_datastore_facts/tasks/main.yml index 6f67563ddba..d3d803eb808 100644 --- a/test/integration/targets/vmware_datastore_facts/tasks/main.yml +++ b/test/integration/targets/vmware_datastore_facts/tasks/main.yml @@ -16,10 +16,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - name: store the vcenter container ip set_fact: diff --git a/test/integration/targets/vmware_drs_rule_facts/tasks/main.yml b/test/integration/targets/vmware_drs_rule_facts/tasks/main.yml index cc8d052ba18..e47cc949a98 100644 --- a/test/integration/targets/vmware_drs_rule_facts/tasks/main.yml +++ b/test/integration/targets/vmware_drs_rule_facts/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_dvs_portgroup/tasks/main.yml b/test/integration/targets/vmware_dvs_portgroup/tasks/main.yml index 945f0eda608..512ebaf95f3 100644 --- a/test/integration/targets/vmware_dvs_portgroup/tasks/main.yml +++ b/test/integration/targets/vmware_dvs_portgroup/tasks/main.yml @@ -16,11 +16,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - name: store the vcenter container ip set_fact: diff --git a/test/integration/targets/vmware_dvswitch/tasks/main.yml b/test/integration/targets/vmware_dvswitch/tasks/main.yml index 1718dc7e467..1c16bab467d 100644 --- a/test/integration/targets/vmware_dvswitch/tasks/main.yml +++ b/test/integration/targets/vmware_dvswitch/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2017, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: Make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_guest/tasks/main.yml b/test/integration/targets/vmware_guest/tasks/main.yml index 96e32141625..28697549897 100644 --- a/test/integration/targets/vmware_guest/tasks/main.yml +++ b/test/integration/targets/vmware_guest/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2017, James Tanner # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_guest_facts/tasks/main.yml b/test/integration/targets/vmware_guest_facts/tasks/main.yml index 24d0473f0a8..f8f8afe4ee2 100644 --- a/test/integration/targets/vmware_guest_facts/tasks/main.yml +++ b/test/integration/targets/vmware_guest_facts/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2017, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_guest_find/tasks/main.yml b/test/integration/targets/vmware_guest_find/tasks/main.yml index fe6bc685159..72ef13b4b00 100644 --- a/test/integration/targets/vmware_guest_find/tasks/main.yml +++ b/test/integration/targets/vmware_guest_find/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2017, James Tanner # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_guest_powerstate/tasks/main.yml b/test/integration/targets/vmware_guest_powerstate/tasks/main.yml index 1dcdef839a0..105df5e303c 100644 --- a/test/integration/targets/vmware_guest_powerstate/tasks/main.yml +++ b/test/integration/targets/vmware_guest_powerstate/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2017, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_guest_snapshot/tasks/main.yml b/test/integration/targets/vmware_guest_snapshot/tasks/main.yml index 8cfb84e135c..c985c44a4db 100644 --- a/test/integration/targets/vmware_guest_snapshot/tasks/main.yml +++ b/test/integration/targets/vmware_guest_snapshot/tasks/main.yml @@ -1,9 +1,3 @@ -# - name: make sure pyvmomi is installed -# pip: -# name: pyvmomi -# state: latest -# when: ansible_user_id == 'root' -# # - name: store the vcenter container ip # set_fact: # vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_guest_tools_wait/tasks/main.yml b/test/integration/targets/vmware_guest_tools_wait/tasks/main.yml index 4173431ae27..ff1569bc51b 100644 --- a/test/integration/targets/vmware_guest_tools_wait/tasks/main.yml +++ b/test/integration/targets/vmware_guest_tools_wait/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2017 Philippe Dellaert # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_host/tasks/main.yml b/test/integration/targets/vmware_host/tasks/main.yml index 89473159733..22b1f00d4e7 100644 --- a/test/integration/targets/vmware_host/tasks/main.yml +++ b/test/integration/targets/vmware_host/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2017, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_host_acceptance/tasks/main.yml b/test/integration/targets/vmware_host_acceptance/tasks/main.yml index 88017132ad1..d7fd2ae42f6 100644 --- a/test/integration/targets/vmware_host_acceptance/tasks/main.yml +++ b/test/integration/targets/vmware_host_acceptance/tasks/main.yml @@ -3,11 +3,6 @@ # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # TODO: vcsim does not support Acceptance Level related to operations -#- name: make sure pyvmomi is installed -# pip: -# name: pyvmomi -# state: latest -# when: "{{ ansible_user_id == 'root' }}" #- name: store the vcenter container ip # set_fact: diff --git a/test/integration/targets/vmware_host_config_facts/tasks/main.yml b/test/integration/targets/vmware_host_config_facts/tasks/main.yml index dafaf44dbfa..9b89767db06 100644 --- a/test/integration/targets/vmware_host_config_facts/tasks/main.yml +++ b/test/integration/targets/vmware_host_config_facts/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_host_config_manager/tasks/main.yml b/test/integration/targets/vmware_host_config_manager/tasks/main.yml index c53959da764..4995393feb2 100644 --- a/test/integration/targets/vmware_host_config_manager/tasks/main.yml +++ b/test/integration/targets/vmware_host_config_manager/tasks/main.yml @@ -3,11 +3,6 @@ # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # TODO: vcsim does not support update host configuartion -#- name: make sure pyvmomi is installed -# pip: -# name: pyvmomi -# state: latest -# when: "{{ ansible_user_id == 'root' }}" #- name: store the vcenter container ip # set_fact: diff --git a/test/integration/targets/vmware_host_dns_facts/tasks/main.yml b/test/integration/targets/vmware_host_dns_facts/tasks/main.yml index 43781d7ecb3..b6c63b8a8e5 100644 --- a/test/integration/targets/vmware_host_dns_facts/tasks/main.yml +++ b/test/integration/targets/vmware_host_dns_facts/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_host_facts/tasks/main.yml b/test/integration/targets/vmware_host_facts/tasks/main.yml index 33a7282f929..f6ffffcc319 100644 --- a/test/integration/targets/vmware_host_facts/tasks/main.yml +++ b/test/integration/targets/vmware_host_facts/tasks/main.yml @@ -1,8 +1,3 @@ -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_host_firewall_facts/tasks/main.yml b/test/integration/targets/vmware_host_firewall_facts/tasks/main.yml index 4e6b04e1681..aaa96112627 100644 --- a/test/integration/targets/vmware_host_firewall_facts/tasks/main.yml +++ b/test/integration/targets/vmware_host_firewall_facts/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_host_firewall_manager/tasks/main.yml b/test/integration/targets/vmware_host_firewall_manager/tasks/main.yml index ed6d620edd5..a9f3b05e505 100644 --- a/test/integration/targets/vmware_host_firewall_manager/tasks/main.yml +++ b/test/integration/targets/vmware_host_firewall_manager/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2018, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_host_ntp/tasks/main.yml b/test/integration/targets/vmware_host_ntp/tasks/main.yml index fc278f59e88..1df2ac7c795 100644 --- a/test/integration/targets/vmware_host_ntp/tasks/main.yml +++ b/test/integration/targets/vmware_host_ntp/tasks/main.yml @@ -3,11 +3,6 @@ # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # TODO: vcsim does not support update host NTP configuration -#- name: make sure pyvmomi is installed -# pip: -# name: pyvmomi -# state: latest -# when: "{{ ansible_user_id == 'user' }}" #- name: store the vcenter container ip # set_fact: diff --git a/test/integration/targets/vmware_host_package_facts/tasks/main.yml b/test/integration/targets/vmware_host_package_facts/tasks/main.yml index 26826fd3a01..1b15a5815f3 100644 --- a/test/integration/targets/vmware_host_package_facts/tasks/main.yml +++ b/test/integration/targets/vmware_host_package_facts/tasks/main.yml @@ -3,11 +3,6 @@ # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # TODO: vcsim does not support Package Manager related to operations -#- name: make sure pyvmomi is installed -# pip: -# name: pyvmomi -# state: latest -# when: "{{ ansible_user_id == 'root' }}" #- name: store the vcenter container ip # set_fact: diff --git a/test/integration/targets/vmware_host_service_facts/tasks/main.yml b/test/integration/targets/vmware_host_service_facts/tasks/main.yml index 1d960d20d88..3000ea9d625 100644 --- a/test/integration/targets/vmware_host_service_facts/tasks/main.yml +++ b/test/integration/targets/vmware_host_service_facts/tasks/main.yml @@ -3,11 +3,6 @@ # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # TODO: vcsim does not support service related to operations -#- name: make sure pyvmomi is installed -# pip: -# name: pyvmomi -# state: latest -# when: "{{ ansible_user_id == 'root' }}" #- name: store the vcenter container ip # set_fact: diff --git a/test/integration/targets/vmware_host_service_manager/tasks/main.yml b/test/integration/targets/vmware_host_service_manager/tasks/main.yml index 9c36cd3e54a..2e9146cabc5 100644 --- a/test/integration/targets/vmware_host_service_manager/tasks/main.yml +++ b/test/integration/targets/vmware_host_service_manager/tasks/main.yml @@ -4,11 +4,6 @@ # TODO: vcsim does not support service management # commenting this testcase till the time. -#- name: make sure pyvmomi is installed -# pip: -# name: pyvmomi -# state: latest -# when: "{{ ansible_user_id == 'root' }}" #- name: store the vcenter container ip # set_fact: diff --git a/test/integration/targets/vmware_host_vmnic_facts/tasks/main.yml b/test/integration/targets/vmware_host_vmnic_facts/tasks/main.yml index b81f6329a1c..d51bce443e7 100644 --- a/test/integration/targets/vmware_host_vmnic_facts/tasks/main.yml +++ b/test/integration/targets/vmware_host_vmnic_facts/tasks/main.yml @@ -3,11 +3,6 @@ # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # TODO: vcsim does not support networkConfig related to operations -#- name: make sure pyvmomi is installed -# pip: -# name: pyvmomi -# state: latest -# when: "{{ ansible_user_id == 'root' }}" #- name: store the vcenter container ip # set_fact: diff --git a/test/integration/targets/vmware_local_role_manager/tasks/main.yml b/test/integration/targets/vmware_local_role_manager/tasks/main.yml index 4c3404977af..5a31df65600 100644 --- a/test/integration/targets/vmware_local_role_manager/tasks/main.yml +++ b/test/integration/targets/vmware_local_role_manager/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2017, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_local_user_manager/tasks/main.yml b/test/integration/targets/vmware_local_user_manager/tasks/main.yml index 041520e89ba..23791603747 100644 --- a/test/integration/targets/vmware_local_user_manager/tasks/main.yml +++ b/test/integration/targets/vmware_local_user_manager/tasks/main.yml @@ -5,12 +5,6 @@ # Commenting local user testcases as older vcsim docker image # does not support this. -#- name: make sure pyvmomi is installed -# pip: -# name: pyvmomi -# state: latest -# when: "{{ ansible_user_id == 'root' }}" - #- name: store the vcenter container ip # set_fact: # vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_maintenancemode/tasks/main.yml b/test/integration/targets/vmware_maintenancemode/tasks/main.yml index 56af958d5c2..ef5853d3d6f 100644 --- a/test/integration/targets/vmware_maintenancemode/tasks/main.yml +++ b/test/integration/targets/vmware_maintenancemode/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2017, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_resource_pool/tasks/main.yml b/test/integration/targets/vmware_resource_pool/tasks/main.yml index a65cdf098f8..ab9ed326426 100644 --- a/test/integration/targets/vmware_resource_pool/tasks/main.yml +++ b/test/integration/targets/vmware_resource_pool/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2017, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_vm_facts/tasks/main.yml b/test/integration/targets/vmware_vm_facts/tasks/main.yml index 5ef5f495b76..23ac9fa8c33 100644 --- a/test/integration/targets/vmware_vm_facts/tasks/main.yml +++ b/test/integration/targets/vmware_vm_facts/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2017, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: "{{ lookup('env', 'vcenter_host') }}" diff --git a/test/integration/targets/vmware_vm_vm_drs_rule/tasks/main.yml b/test/integration/targets/vmware_vm_vm_drs_rule/tasks/main.yml index 41b088cd20d..708681b83dc 100644 --- a/test/integration/targets/vmware_vm_vm_drs_rule/tasks/main.yml +++ b/test/integration/targets/vmware_vm_vm_drs_rule/tasks/main.yml @@ -3,11 +3,6 @@ # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # TODO: vcsim does not support manage DRS rule -#- name: make sure pyvmomi is installed -# pip: -# name: pyvmomi -# state: latest -# when: "{{ ansible_user_id == 'root' }}" #- name: store the vcenter container ip # set_fact: diff --git a/test/integration/targets/vmware_vmkernel_facts/tasks/main.yml b/test/integration/targets/vmware_vmkernel_facts/tasks/main.yml index ce6caf2a6b3..4ce69a7a904 100644 --- a/test/integration/targets/vmware_vmkernel_facts/tasks/main.yml +++ b/test/integration/targets/vmware_vmkernel_facts/tasks/main.yml @@ -3,11 +3,6 @@ # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # TODO: vcsim does not support HostVirtualNicManager related to operations -#- name: make sure pyvmomi is installed -# pip: -# name: pyvmomi -# state: latest -# when: "{{ ansible_user_id == 'root' }}" #- name: store the vcenter container ip # set_fact: diff --git a/test/integration/targets/vmware_vswitch/tasks/main.yml b/test/integration/targets/vmware_vswitch/tasks/main.yml index 9067130e742..d367faaa5de 100644 --- a/test/integration/targets/vmware_vswitch/tasks/main.yml +++ b/test/integration/targets/vmware_vswitch/tasks/main.yml @@ -2,12 +2,6 @@ # Copyright: (c) 2017, Abhijeet Kasurde # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -- name: Make sure pyvmomi is installed - pip: - name: pyvmomi - state: latest - when: "{{ ansible_user_id == 'root' }}" - - name: store the vcenter container ip set_fact: vcsim: '{{ lookup("env", "vcenter_host") }}' diff --git a/test/runner/requirements/integration.cloud.vcenter.txt b/test/runner/requirements/integration.cloud.vcenter.txt new file mode 100644 index 00000000000..6f750903ca2 --- /dev/null +++ b/test/runner/requirements/integration.cloud.vcenter.txt @@ -0,0 +1 @@ +pyvmomi