2017-11-06 17:28:15 +01:00
|
|
|
# Test code for the vmware_guest module.
|
|
|
|
# Copyright: (c) 2017, James Tanner <tanner.jc@gmail.com>
|
|
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
|
|
|
2019-04-24 19:58:09 +02:00
|
|
|
- import_role:
|
|
|
|
name: prepare_vmware_tests
|
|
|
|
vars:
|
|
|
|
setup_attach_host: true
|
2019-07-11 08:12:49 +02:00
|
|
|
setup_datacenter: true
|
2019-04-24 19:58:09 +02:00
|
|
|
setup_datastore: true
|
2019-07-25 16:04:00 +02:00
|
|
|
setup_dvswitch: true
|
2019-05-16 15:36:48 +02:00
|
|
|
setup_resource_pool: true
|
2019-04-24 19:58:09 +02:00
|
|
|
setup_virtualmachines: true
|
2019-11-12 12:43:57 +01:00
|
|
|
setup_dvs_portgroup: true
|
2019-04-24 19:58:09 +02:00
|
|
|
|
2019-07-11 08:12:49 +02:00
|
|
|
- include_tasks: run_test_playbook.yml
|
|
|
|
with_items: '{{ vmware_guest_test_playbooks }}'
|
|
|
|
loop_control:
|
|
|
|
loop_var: test_playbook
|