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

**URL:** <https://forum.ansible.com/t/upgrading-from-1-9-to-2-x-what-version-of-2-should-i-pick/25682>\
**Category:** Ansible Project\
**Created:** [October 5, 2017, 5:23am UTC](https://forum.ansible.com/t/upgrading-from-1-9-to-2-x-what-version-of-2-should-i-pick/25682 "2017-10-05T05:23:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gary\_White](https://avatars.discourse-cdn.com/v4/letter/g/5daacb/32.png) [@Gary\_White](https://forum.ansible.com/u/Gary_White)\
**Post date:** [October 5, 2017, 5:23am UTC](https://forum.ansible.com/t/upgrading-from-1-9-to-2-x-what-version-of-2-should-i-pick/25682/1 "2017-10-05T05:23:10Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [October 5, 2017, 8:02am UTC](https://forum.ansible.com/t/upgrading-from-1-9-to-2-x-what-version-of-2-should-i-pick/25682/2 "2017-10-05T08:02:54Z")

</div>

One of the supported one  
[https://github.com/ansible/ansible/blob/devel/docs/docsite/rst/release\_and\_maintenance.rst](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.

---

<div class="post-metadata">

**Author:** ![jean-yves](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jean-yves](https://forum.ansible.com/u/jean-yves)\
**Post date:** [October 5, 2017, 8:34am UTC](https://forum.ansible.com/t/upgrading-from-1-9-to-2-x-what-version-of-2-should-i-pick/25682/3 "2017-10-05T08:34:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Gary\_White](https://avatars.discourse-cdn.com/v4/letter/g/5daacb/32.png) [@Gary\_White](https://forum.ansible.com/u/Gary_White)\
**Post date:** [October 6, 2017, 2:32am UTC](https://forum.ansible.com/t/upgrading-from-1-9-to-2-x-what-version-of-2-should-i-pick/25682/4 "2017-10-06T02:32:11Z")

</div>

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.
