Azure / azure_preview_modules

Azure preview modules for Ansible
https://galaxy.ansible.com/azure/azure_preview_modules
43 stars 49 forks source link

azure_rm_virtualmachine profile Failed to get credentials. #393

Closed dtometzki closed 3 years ago

dtometzki commented 3 years ago

hello together, i define an ansible playbook with the profile for azure_rm_virtualmachine profile: ~/.azure/credentials what is the correct structure of this file ?

[default]
client_id = 11111111-1f11-1111-1111-af9c41b2c688
secret = 11L1111111111111111111111911111111
tenant = 12111111-1111-1311-1111-111111111111
subscription_id = 11111111-1111-1111-1111-011110101111

doesnt work.

"msg": "Failed to get credentials. Either pass as parameters, set environment variables, define a profile in ~/.azure/credentials

Best Regards Damian