I have created a SLES VM on azure ,Create method as this link: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ansible-install-configure
but, when ran ansible playbook to create a resource group ,it will meet error, error info as below:
create resource group:
- name: create resource goup
azure_rm_resourcegroup:
name: myRG
location: eastus
Error info:
fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “Do you have azure>=2.0.0 installed? Try pip install ansible[azure]
- No module named mgmt.network.version”}
Who could help to fix this issue, Thanks a lot!