Upgrading from 1.9 to 2.x -- what version of 2 should I pick?

I am planning to upgrade from Ansible 1.9.4 to a 2.x version of Ansible. I don’t necessarily have to go to the latest, what I’d like to do is go to the most compatible version.

What 2.x version would you suggest that will require the fewest updates to my various roles and playbooks?

One of the supported one
https://github.com/ansible/ansible/blob/devel/docs/docsite/rst/release_and_maintenance.rst

Only the two most stable releases is supported, that leaves you with 2.3 and 2.4, since 2.2 probably will be EOL shortly.

Hi,

The big change is between 1.9 and 2.0, so you'll have to probably make
some changes (braces or quotation mark typically)...
Other minor release of the major version 2 is not a big change, but you
need to test all your playbooks when you change the version of ansible
I recommend also version 2.3 or 2.4 depending of what OS version you
need to manage... If you need to manage RHEL 5.x or CentOS 5.x or any
Linux version which don't have python 2.6 by default, stay with ansible
version 2.3.x

Regards,

JYL

Thanks all for the feedback. We (embarrassingly) still do have a few C5 machines so it seems that 2.3 is the version we’ll pick.