please suggest. I m stuck On Wednesday, May 16, 2018 at 10:05:08 AM UTC+2, Irfan Sayed wrote: > > Hello, > > I am trying to create the azure VM using ansible module : > azure_rm_virtualmachine > document referred : > *https://docs.ansible.com/ansible/2.4/azure_rm_virtualmachine_module.html* > <https://docs.ansible.com/ansible/2.4/azure_rm_virtualmachine_module.html> > > > *Actual error* > > TASK [azure_vm_create : Create azure vm] > **************************************************************************************************************************************************** > fatal: [worker1]: FAILED! => {"changed": false, "module_stderr": "Shared > connection to worker1 closed.\r\n", "module_stdout": "Traceback (most > recent call last):\r\n File > "/tmp/ansible_3PPl_f/ansible_module_azure_rm_virtualmachine.py", line 556, > in \r\n from ansible.module_utils.azure_rm_common import AzureRMModuleBase, > azure_id_to_dict\r\n File > "/tmp/ansible_3PPl_f/ansible_modlib.zip/ansible/module_utils/azure_rm_common.py", > > line 28, in \r\nImportError: No module named packaging.version\r\n", "msg": > "MODULE FAILURE", "rc": 0} > > *Environment :* > Ansible version : ansible 2.4.2.0 > python version = 2.7.5 > Ansible controller machine : centos 7 > ansible managed node : centos 7 > > > *azure packages :* > python2-msrestazure-0.4.21-1.el7.noarch > azure-repo-svc-1.0-0.el7.centos.noarch > python2-azure-sdk-2.0.0-2.el7.noarch > > > *expected behavior :* > provision the VM without any issue > > > I am not getting what is the issue. my other playbooks are just working > fine. do I need to install any other dependency OR module ?? > > > please suggest. > > > > Regards, >
-- 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/3be71a69-ba4e-4f51-b797-1bb28d9e3903%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
