# Ansible 2.2.1 and 2.1.4 FINAL have been released!

**URL:** <https://forum.ansible.com/t/ansible-2-2-1-and-2-1-4-final-have-been-released/23468>\
**Category:** Ansible Project\
**Created:** [January 16, 2017, 5:44pm UTC](https://forum.ansible.com/t/ansible-2-2-1-and-2-1-4-final-have-been-released/23468 "2017-01-16T17:44:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Cammarata](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Post date:** [January 16, 2017, 5:44pm UTC](https://forum.ansible.com/t/ansible-2-2-1-and-2-1-4-final-have-been-released/23468/1 "2017-01-16T17:44:21Z")

</div>

Hi all, we are happy to announce that Ansible 2.2.1 and 2.1.4 have been released.

This release fixes a few bugs, but the main fix is for CVE-2016-9587 which was previously disclosed during the RC process.

As always, these updates are available via PyPi and [releases.ansible.com](http://releases.ansible.com/) now, and packages for distros will be available as soon as possible.

If you discover any errors, or if you see any regressions from playbooks which work on 1.9.x and prior, please open a Github issue and be sure to mention the version of Ansible you’re running.

Thanks, and enjoy!

---

<div class="post-metadata">

**Author:** ![PhilEv](https://avatars.discourse-cdn.com/v4/letter/p/ee59a6/32.png) [@PhilEv](https://forum.ansible.com/u/PhilEv)\
**Post date:** [January 17, 2017, 8:40pm UTC](https://forum.ansible.com/t/ansible-2-2-1-and-2-1-4-final-have-been-released/23468/2 "2017-01-17T20:40:43Z")

</div>

Thanks

On our side this breaks existing playbooks running on rhel6 where roles are applied conditionally.  
like the following one:

- role: ntpd\_slewing\_mode  
tags: [“ntp\_options”]  
when: ansible\_distribution\_major\_version == “6”

and lead to the following error:

TASK [ntpd\_slewing\_mode : Add the -x as OPTIONs if not in /etc/sysconfig/ntpd] \*  
fatal: [127.0.0.1]: FAILED! =\> {“failed”: true, “msg”: “The conditional check ‘ansible\_distribution\_major\_version == "6"’ failed. The error was: ’  
AnsibleEnvironment’ object has no attribute ‘\_generate’\n\nThe error appears to have been in ‘/usr/share/oetune/playbooks/roles/ntpd\_slewing\_mode/tasks/main.yml’: line 26, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Add  
the -x as OPTIONs if not in /etc/sysconfig/ntpd\n ^ here\n”}  
to retry, use: --limit @/usr/share/oetune/playbooks/hocoe.retry

Applying the Fix for  
‘bug in Conditional for older jinja2 versions’  
aka commit: 2f0dba4f36238f0f740467161ae00f22041cd423 (on branch stable-2.2)

Solved the issue.

As we have numerous playbooks with this type of coding for now  
Can we expect a 2.2.1-next soon ?

Again thanks

Phil
