mirror of https://github.com/ansible/ansible.git
vmware_content_library_info: init the functional test
`vmware_content_library_info` functional test is currently broken because it assumes the vCenter content library is not empty. With this commit, the test inits the vCenter content library database using `prepapre_vmware_tests`, this before the functional test execution.pull/59535/head
parent
47496098e7
commit
fb96f0b8ae
@ -0,0 +1,11 @@
|
|||||||
|
- name: Create Content Library
|
||||||
|
vmware_content_library_manager:
|
||||||
|
hostname: '{{ vcenter_hostname }}'
|
||||||
|
username: '{{ vcenter_username }}'
|
||||||
|
password: '{{ vcenter_password }}'
|
||||||
|
library_name: test-content-lib
|
||||||
|
library_description: 'Library created by the prepare_vmware_tests role'
|
||||||
|
library_type: local
|
||||||
|
datastore_name: '{{ ds2 }}'
|
||||||
|
validate_certs: False
|
||||||
|
state: present
|
Loading…
Reference in New Issue