VS1
(VS)
1
Hello guys i have the following lines:
offer: UbuntuServer
publisher: Canonical
sku: ‘18.04-LTS’
version: latest
But i get the following error:
“tenant”: null,
“virtual_network_name”: null,
“virtual_network_resource_group”: null,
“vm_size”: “Standard_B1s”
}
},
“msg”: “Error fetching image Canonical UbuntuServer 18.04 LTS - Azure Error: NotFound\nMessage: Artifact: VMImage was not found.”
}
Do you know were i am mistaken ?
I would like to be able to chip in, but your question is not very clear. Could you post a complete playbook?
I guess you need to set up a virtual network and some storage to associate with your vm first. There’s an example here in the documentation https://docs.ansible.com/ansible/devel/scenario_guides/guide_azure.html#creating-individual-components
You likely need to get your tennant id, subscription id (azure credentials) set up and made available - have a read of https://docs.ansible.com/ansible/devel/scenario_guides/guide_azure.html#providing-credentials-to-azure-modules
Hope this helps,
Jon