Error when executing ansible playbook on Azure

0 votes

I've installed ansible and i'm trying to deploy my resources on azure. I get this error when I run the playbook:

fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_args": {"ad_user": null, "append_tags": true, "client_id": null, "force": false, "location": null, "name": "test", "password": null, "profile": null, "secret": null, "state": "present", "subscription_id": null, "tags": null, "tenant": null}, "module_name": "azure_rm_resourcegroup"}, "msg": "Do you have azure==2.0.0rc5 installed? Try pip install azure==2.0.0rc5- No module named enum"}
Jan 29, 2019 in Ansible by Ganga
1,033 views

1 answer to this question.

0 votes

Hey @Ganga, As the error message says, you need to install enum, use the following command:

sudo pip install enum

Also, install these:

sudo pip install msrest
sudo pip install msrestazure
answered Jan 29, 2019 by Kavya

Related Questions In Ansible

0 votes
1 answer
0 votes
1 answer

Error saying "ImportError: No module named ansible.playbook" when installing ansible on aws

Hey @Niana, I don't think you have ...READ MORE

answered Feb 4, 2019 in Ansible by Anushri

edited Feb 6, 2019 4,561 views
0 votes
2 answers
0 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 views
+2 votes
1 answer
0 votes
2 answers

Error while creating resource group on Azure using Ansible

Please check you indentation, remove all spaces ...READ MORE

answered Mar 17, 2020 in Ansible by Shrikant Yerge
1,532 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP