Hi, I am trying to get Ansible to deploy resources to the Azure cloud and I am having an getting it to work. I have a fresh install of Ubuntu 14.04
I have installed ansible by running the following: $ sudo apt-get install software-properties-common $ sudo apt-add-repository ppa:ansible/ansible $ sudo apt-get update $ sudo apt-get install ansible I also installed pip by running the command sudo easy_install pip and that all that was done to get ansible install on the server. I then started with tha Azure components for Ansible by following the instructions on https://docs.ansible.com/ansible/guide_azure.html. I ran the command sudo pip install "azure==2.0.0rc5" to get the Azure Python SDK I then created a simple yaml file to create a resource group and when I ran the playbook by running the command ansible-playbook test.yml -vvv the following error was returned 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"} Any help would be appreciated! Thanks -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a22272b7-f07b-4308-aef8-8e9714675aca%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
