Hello All,
I am new to Ansiable .my requirement is to Create VM from dynamic JSON
Values ..For example below is output from my API
"Server_details": [
{
"IP": "192.168.1.1",
"Server_Name": "TestVM1"
"HDD": "300GB"
"memory":"4GB"
},
{
"IP": "192.168.1.2",
"Server_Name": "TestVM2"
"HDD": "200GB"
"memory":"4GB"
},
{
"IP": "192.168.1.3",
"Server_Name": "TestVM3"
"HDD": "100GB"
"memory": "4GB"
}
]
}
}
Now I want to create 3 VM and Clone from template , question is how i
setup VMname , VMIP address, VM memory and VM cpU from about data ..
Thanks ...HeM
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/bc81be0d-3b90-4874-b232-3e3ac91f39da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.