Hacker News new | past | comments | ask | show | jobs | submit login

I believe they just haven't officially defined Ansible as Python 3 compliant because there are still open issues in Github related to Python 2.

I have been using Ansible exclusively with Python 3 for over a year and only stumbled into incompatible code once, a simple case of string VS bytes literals that got quickly fixed.

so you're executing ansible with:

  python3 /usr/bin/ansible $cmd
if you're using plain `ansible` from the repos or pip, you're using python2.

/edit: there is actually a source for that, go figure: http://docs.ansible.com/ansible/latest/python_3_support.html

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact