Unexpected Exception: name 'basestring' is not defined when invoking ansible2
<p>I'm trying to execute ansible2 commnads...</p>

<p>When I do:</p>

<pre><code>ansible-playbook -vvv -i my/inventory my/playbook.yml
</code></pre>

<p>I get:</p>

<blockquote>
  <p>Unexpected Exception: name 'basestring' is not defined
  the full traceback was:</p>

<pre><code>Traceback (most recent call last):
  File "/usr/local/bin/ansible-playbook", line 85, in &lt;module&gt;
    sys.exit(cli.run())
  File "/usr/local/lib/python3.4/site-packages/ansible/cli/playbook.py", line 150, in run
    results = pbex.run()
  File "/usr/local/lib/python3.4/site-packages/ansible/executor/playbook_executor.py", line 87, in run
    self._tqm.load_callbacks()
  File "/usr/local/lib/python3.4/site-packages/ansible/executor/task_queue_manager.py", line 149, in load_callbacks
    elif isinstance(self._stdout_callback, basestring):
NameError: name 'basestring' is not defined
</code></pre>
</blockquote>

<p>Here is <code>ansible --version</code>:</p>

<pre><code>ansible 2.0.0.2
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
</code></pre>

<p>And here is <code>python --version</code></p>

<pre><code>Python 3.4.3
</code></pre>