Hi all, I'm proud to announce that Ansible 2.0 alpha1 is available for download and testing today!
This alpha release is the culmination of many months of work to not only refactor the code base to increase stability, but to add some amazing new features: * Blocks, which allow playbooks to do some basic try/except/finally style error handling http://docs.ansible.com/ansible/playbooks_blocks.html * Execution strategy plugins, which allow tasks to run in ways that differ from classic Ansible. https://docs.ansible.com/ansible/playbooks_strategies.html * Dynamic include statements, which bring back the ability to use include + with_* loops. In 1.9.x and before, includes function simply as a pre-processor macro, in which tasks are expanded before any task execution starts. Now, in 2.0 and beyond, includes are executed as any other task is and expanded only at the point it is executed. * A multitude of bug fixes - well over 200 issues were closed in just the main Ansible repository as part of the refactoring and cleanup. * Over 140 new modules, including the new style Openstack modules, new VMware and Cloudstack modules, and many more! The full list of changes can be found here: https://github.com/ansible/ansible/blob/devel/CHANGELOG.md One thing you might notice is the release name - as of the 2.0 release we will now be tracking Led Zeppelin songs, with the first release being "Over the Hills and Far Away". Michael and I had discussed this all the way back in December of 2014, so it's nice being able to make it official :) What will break? ---------------------------------------------------------------------- As we have noted in the past, we strove to maintain 100% backwards compatibility for playbooks, and where appropriate we have decided to deprecate some language features. These will continue to work, however you may notice an increase in deprecation messages. The main issue some users may run into is the internal APIs for some plugins have changed (especially for Lookups and Action plugins), for which we will be writing a migration guide before the final 2.0 release. How do you get it? ---------------------------------------------------------------------- The tar.gz of the release can be found here: http://releases.ansible.com/ansible/ansible-2.0.0-0.1.alpha1.tar.gz SHA256: d66578277595dd60083e63ee7b1f251903f8aefea50ea931054d4bf9bd29002b You can also test against the git repository as follows: $ git clone https://github.com/ansible/ansible.git $ cd ansible $ git checkout v2.0.0-0.1.alpha1 $ git submodule update --init You can then source our testing script: $ . hacking/env-setup or you can build your own .tar.gz (output will be dist/ansible-2.0.0.tar.gz): $ make sdist Thanks to everyone who has contributed to making this day possible! James Cammarata Director, Ansible Core Engineering 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAMFyvFiUvLafYO-kLg8CX1g%2Batev9-OyF79bhSfahmSphq%3D00A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
