Ansible VMware - create datastore

103 views
Skip to first unread message

Mike Smart

unread,
Nov 19, 2022, 10:54:13 AM11/19/22
to Ansible Project
Hello ,

my ESXi (Dell T350) has two virtual drives.
1.st is 2*SDD  raid 1 for the Hypervisor 7.03 = datastore1 which is automatically created by installing the Hypervisor via kickstart.

Now my question is about the best practice on how to create the datastore2 (some TB raid5) for my VM's later on.

Would it be possible within Ansible to create datastore2 on the second available virtual disk?
Or is there another best practice to do so?

kr
Mike

Rowe, Walter P. (Fed)

unread,
Nov 21, 2022, 6:48:07 AM11/21/22
to ansible...@googlegroups.com
Is this something you will do often and that needs to be consistent? Ansible isn't always the right solution. This specific task may be best performed from within the vCenter or on the esxi command line since I imagine it is something you will do once.

Walter
--
Walter Rowe, Division Chief
Infrastructure Services, OISM
Mobile: 202.355.4123

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a02ca22e-36f2-48c3-91a9-867354f5422en%40googlegroups.com.

Mike Smart

unread,
Nov 21, 2022, 8:03:28 AM11/21/22
to Ansible Project
Hi Walter,
yes, would do it more than a several hundred times over next years.
Actually at this moment we do it via vCenter, but would be nicer and less typo via ansible
Reply all
Reply to author
Forward
0 new messages