Score:2

How can I assign a vSphere Tanzu license to a Supervisor Cluster programmatically?

th flag

I have a vSphere Tanzu license already available in my vCenter Server. Now I want to assign that license to a Supervisor Cluster. It works through the vSphere Webclient manually, but I need to do it programmatically in an IaC context.

I already tried it with the community.vmware.vcenter_license Ansible module and the cluster_name parameter, but that gives me the following error:

Could not assign "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" (Tanzu Standard activation for vSphere) to vCenter.

So, this parameter does not seem to support Supervisor Clusters, just vSAN Clusters.

Is there any other way to do that programmatically? I'm quite flexible on the technology: SSH, PowerCLI, Ansible... would all be fine.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.