Debian Codegraph @

ansible_collections/community/vmware/tests/integration/targets/vmware_host_passthrough/tasks/main.yml

raw
1 # Test code for the vmware_host_passthrough module.
2 # Copyright: (c) 2021, sky-joker <[email protected]>
3 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
4
5 - ansible.builtin.import_role:
6 name: prepare_vmware_tests
7 vars:
8 setup_attach_host: true
9
10 - name: Include tasks pre.yml
11 ansible.builtin.include_tasks: pre.yml
12
13 - name: Integration test for vmware_host_passthrough_tests module
14 when:
15 - list_of_pci_devices_that_can_be_enabled_passthrough is defined
16 - list_of_pci_devices_that_can_be_enabled_passthrough | length >= 1
17 block:
18 - name: Include tasks vmware_host_passthrough_tests.yml
19 ansible.builtin.include_tasks: vmware_host_passthrough.yml
20
21 - name: Include tasks vmware_host_passthrough_pci_id.yml
22 ansible.builtin.include_tasks: vmware_host_passthrough_pci_id.yml