I\'m trying to execute ansible2 commnads...
When I do:
ansible-playbook -vvv -i my/inventory my/playbook.yml
I get:
Ansible below version 2.5 requires Python 2.6 or 2.7 on the control host: Control Node Requirements
basestring is no longer available in Python 3. From What’s New In Python 3.0:
The builtin
basestringabstract type was removed. Usestrinstead. Thestrandbytestypes don’t have functionality enough in common to warrant a shared base class. The2to3tool (see below) replaces every occurrence ofbasestringwithstr.
So the solution is to either upgrade Ansible or downgrade Python.