This is my debug output ..
register: create
- debug:
msg: "{{ create.json.info.0.value }}"
ok: [localhost] => { "msg": "8308a020-5c9d-4936-8f1a-40f408d3a085" }
Now I need to add the output as an input to JSON template. Below is my template...
{
"networkDomainId": "{{create.json.info.0.value}}"
"name": "Sandy_Smoke_VLAN",
"description": "For hosting our Smokeping_test Cloud Servers"
"privateIpv4NetworkAddress": "10.10.0.0"
"privateIpv4PrefixSize": 24
"attachedVlan": { "gatewayAddressing": "HIGH" }
}
But the above template is not working.