deploy VM undera DRS cluster

13 views
Skip to first unread message

Ayan Dasgupta

unread,
Jun 27, 2016, 11:11:18 AM6/27/16
to Ansible Project
Hi,

Can we deploy a VM under a specific DRS cluster instead of providing datastore name.

Any help would be greatly appreciated.

Warm regards,

Ayan

Dann Bohn

unread,
Jun 27, 2016, 7:20:05 PM6/27/16
to Ansible Project
Presently this is not possible. You could do something like provide the module a list of datastores and use jinja random to pick one


datastore: {{datastores|random}}

It's not perfect, but you can do this out of the box

Dann

Ayan Dasgupta

unread,
Jun 30, 2016, 3:30:38 AM6/30/16
to Ansible Project
Thanks Dann.

Let me try this.
Reply all
Reply to author
Forward
0 new messages