Ansible 2.2.0 Final has been released!

206 views
Skip to first unread message

James Cammarata

unread,
Nov 1, 2016, 9:55:28 AM11/1/16
to ansible-...@googlegroups.com, ansible...@googlegroups.com
Hi all, we're very happy to announce that Ansible 2.2.0 has been released!

This release includes many new features and improvements (from the RC1 release announcement):

* Almost 200 new modules!
* Major performance improvements. In many cases, you should see a 2-3x improvement over 2.1/2.0.
* `include_role` now allows for roles to be executed inline with your other tasks, instead of listing them only in the `roles:` section of your plays (http://docs.ansible.com/ansible/include_role_module.html)
* The `listen` feature for handlers allows for much easier notifications of multiple handlers via a pub/sub mechanism (http://docs.ansible.com/ansible/playbooks_intro.html#handlers-running-operations-on-change).
* Serial batches can now be specified as a list rather than a single integer value, meaning you can do something like this to scale up serial batches:
  `serial: [1, 5, 10]` # the first batch will be 1 host, 2nd=5 hosts, all other batches will be 10 hosts)
* Windows tasks can now use "async", and can also now use the "environment" option to set environment variables.
* Support for binary modules.
* New become method: `ksu` (Kerberos su).
* New meta option: `end_play`, which allows for early termination of a play without failing.
* Meta tasks now support conditional statements.

Here is the official announcement on our website:


As always, this update is available via PyPi and releases.ansible.com now, and packages for distros will be available as soon as possible.

Thanks and enjoy!

James Cammarata

Ansible Lead/Sr. Principal Software Engineer
Ansible by Red Hat
twitter: @thejimic, github: jimi-c

Igor Cicimov

unread,
Nov 1, 2016, 8:08:48 PM11/1/16
to Ansible Project, ansible-...@googlegroups.com
Hi James,

Although the performance improvements are welcomed, I wonder how does this stack compared to 1.9.x version?

There have been discussions here, more specific https://groups.google.com/forum/#!starred/ansible-devel/UU0Tpw-qlhY, and couple of issues raised and outlined in your post here https://groups.google.com/forum/#!starred/ansible-devel/TLEc1NoQ7lA, that revel a serious problem in the very core of 2.x release. Has this been addressed in 2.2.0 and if yes how close is the 2.2 performance to the old 1.9.x branch?

Thanks,
Igor

James Cammarata

unread,
Nov 1, 2016, 8:22:22 PM11/1/16
to ansible...@googlegroups.com, ansible-...@googlegroups.com
Hi Igor,

While 2.2 is quite a bit faster than 2.0/2.1, it does still lag a bit behind 1.9. Mainly this slowness is due to the way we've changed how workers are created, which in 2.0+ allows us to have strategies but does come with a hit to performance. We'll still look at ways of improving things in the future, so any analysis/debugging of performance problems is always appreciated.

Thanks!

James Cammarata

Ansible Lead/Sr. Principal Software Engineer
Ansible by Red Hat
twitter: @thejimic, github: jimi-c

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/ee7e7988-436a-4e6f-a13f-fcdb2f8d4301%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mehdi B

unread,
Nov 2, 2016, 7:19:22 AM11/2/16
to Ansible Project, ansible-...@googlegroups.com
Awesome to see role_include. I had to do that in a dirty mode including the main task and the vars from the role I wanted to include in another role.

Great to see ansible 2.2.0 released.

M B

Jacob Weber

unread,
Nov 3, 2016, 4:32:54 PM11/3/16
to Ansible Project, ansible-...@googlegroups.com
Just curious -- how long does it usually take for new RPMs to appear on epel or epel-testing?

Kevin Fenzi

unread,
Nov 3, 2016, 5:30:19 PM11/3/16
to ansible...@googlegroups.com
On Thu, 3 Nov 2016 13:32:54 -0700 (PDT)
Jacob Weber <weber...@gmail.com> wrote:

> Just curious -- how long does it usually take for new RPMs to appear
> on epel or epel-testing?

https://groups.google.com/forum/#!msg/ansible-project/dm59ern73-w/SaBIVJAeBjAJ

kevin

Jacob Weber

unread,
Nov 3, 2016, 5:42:25 PM11/3/16
to Ansible Project, ansible-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages