Hi all, we’re very happy to announce that Ansible 2.2.0 (“The Battle of Evermore”) RC1 is ready for testing!
This release includes a LOT of new features and improvements:
- Major performance improvements. In many cases, you should see a 2-3x improvement over 2.1/2.0.
- Almost 200 new modules! Some highlights:
-
Lots of new AWS functionality (Lambda, EFS, Red Shift and more)
-
Netapp
-
NXOS
-
Red Hat Atomic
-
docker_network
-
F5 big IP modules
-
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.
And finally, a lot of work has been put into Python 3 support for Ansible running on the controller. We are officially targeting Python 3.5 for support at this time, and most major features should work though YMMV. Because almost every module shipping today was written to also support Python 2.4, be aware that running things via local_action
or delegate_to: localhost
will still probably run into errors when running the Ansible controller on Python 3+.
How do you get it?