vmware/test: switch the ro of the two datastore (#65356)

The `ro_datastore` was actually using the value of `rw_datastore`.
This commit is contained in:
Gonéri Le Bouder 2019-11-29 10:23:57 -05:00 committed by GitHub
parent d335d7a62c
commit 0407af936a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 9 deletions

View file

@ -1,8 +1,6 @@
--- ---
dc1: DC0 dc1: DC0
ccr1: DC0_C0 ccr1: DC0_C0
rw_datastore: LocalDS_0
ro_datastore: LocalDS_1
f0: F0 f0: F0
switch1: switch1 switch1: switch1
esxi1: '{{ esxi_hosts[0] }}' esxi1: '{{ esxi_hosts[0] }}'
@ -11,4 +9,4 @@ esxi3: '{{ esxi_hosts[2] }}'
dvswitch1: DVS0 dvswitch1: DVS0
esxi_user: root esxi_user: root
dvpg1: DC0_DVPG0 dvpg1: DC0_DVPG0
dvpg_with_slash: DVPG/1 dvpg_with_slash: DVPG/1

View file

@ -2,18 +2,20 @@
esxi_hosts: esxi_hosts:
- esxi1.test - esxi1.test
- esxi2.test - esxi2.test
rw_datastore: rw_datastore
ro_datastore: ro_datastore
esxi_password: '{{ esxi1_password }}' esxi_password: '{{ esxi1_password }}'
infra: infra:
datastores: datastores:
LocalDS_0: rw_datastore:
type: nfs
server: datastore.test
path: /srv/share/isos
ro: false
LocalDS_1:
type: nfs type: nfs
server: datastore.test server: datastore.test
path: /srv/share/vms path: /srv/share/vms
ro: false
ro_datastore:
type: nfs
server: datastore.test
path: /srv/share/isos
ro: true ro: true
virtual_machines: virtual_machines:
- name: DC0_H0_VM0 - name: DC0_H0_VM0

View file

@ -3,6 +3,8 @@ esxi_hosts:
- DC0_C0_H0 - DC0_C0_H0
- DC0_C0_H1 - DC0_C0_H1
- DC0_C0_H2 - DC0_C0_H2
rw_datastore: LocalDS_0
ro_datastore: LocalDS_1
virtual_machines: virtual_machines:
- name: DC0_H0_VM0 - name: DC0_H0_VM0
folder: /F0/DC0/vm/F0 folder: /F0/DC0/vm/F0