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 theroles:
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!