prepare_vmware_tests: datastore host is datastore.test

Use an alias to access the datastore host. This way, it's easier
to use an existing NFS server.
We can also disable the `write` access on the iso datastore.
pull/64536/head
Gonéri Le Bouder 5 years ago
parent ac9c75d467
commit 35a8922988

@ -7,14 +7,12 @@ infra:
datastores:
LocalDS_0:
type: nfs
server: gateway.test
server: datastore.test
path: /srv/share/isos
# https://github.com/ansible/ansible/issues/58541 prevents us
# from using the "ro: true" mode
ro: false
ro: true
LocalDS_1:
type: nfs
server: gateway.test
server: datastore.test
path: /srv/share/vms
ro: false
virtual_machines:

@ -28,7 +28,7 @@
validate_certs: False
library_name: Sample_Library
library_description: Sample Description
datastore_name: '{{ ds1 }}'
datastore_name: '{{ ds2 }}'
state: present
register: content_lib_create_result

Loading…
Cancel
Save