5 Essential Tips for Maximizing Your Experience at Nutanix .NEXT for Bloggers
Charan, I was not setting the variable correctly. The set variable task creates a new instance of a variable it does not overwrite any existing variables. Once I properly configured the variable it accepted the json value.
Charan, Can you share the BP with me another way I am still unable to get this to work.
I have formatted the output as you recommended. I am still seeing this issue. Hey, Before printing the subnet json, do a json.dumps and print the same. nic1=<value> print “nic1=”,json.dumps(nic1) I guess my question is if I only wanted to set my NIC as a variable that is plain text/json what would that look like? because I set a variable to the following:setSubnet:nic1="{"name": "BD-CTXApp-Prod-IaaS", "uuid": "015157ec-9c42-42d4-99ce-d5dcaef86dca"}"and I set the NIC configuration to the same vairable and I got the same JSON failed to load issue.
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.