Have you tried to follow official ansible for azure installation guide? AFAIR it is:
pip install ansible[azure] On MacOSX I noticed that ansible is very dependent on the right version of Azure libraries. Wawrzek On Mon, 11 Mar 2019 at 06:10, <[email protected]> wrote: > > Hello, > I am puzzled from the under subject error message. > I have a very simple playbook that creates an Azure Resource Group. However, > when I execute it it generates this error message. > Of course, I have the latest packages installed: > > rpm -qa | grep -i ansible > ansible-2.7.8-1.fc28.noarch > > rpm -qa | grep -i azure > python2-azure-sdk-2.0.0-2.fc28.noarch > python2-azure-storage-0.36.0-2.fc28.noarch > python2-msrestazure-0.4.21-2.fc28.noarch > azure-cli-2.0.60-1.el7.x86_64 > > Also, the containerservice is in place: > > sudo find / | grep "azure" | grep -i containerservice > /usr/lib/python2.7/site-packages/azure/mgmt/compute/containerservice > /usr/lib/python2.7/site-packages/azure/mgmt/compute/containerservice/models.pyc > > In the github similar errors resulted to an issue with packages versions and > issues with AWX/Tower, but I don't run it in AWX. > > Any ideas? > > -- > 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/9b064172-9fa3-4159-b617-33d7f17cf477%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Dr Wawrzyniec NiewodniczaĆski or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: [email protected] Linux User #177124 -- 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/CAC7-vpCrh5aA2cz4uPt2odJYAC3H47zSznSD5KG9x4WAZ6vW7g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
