Ansible 2.0 RC1 is available for testing!

164 views
Skip to first unread message

James Cammarata

unread,
Nov 19, 2015, 4:52:46 PM11/19/15
to ansible...@googlegroups.com, ansible-...@googlegroups.com
Hi all, for those not at AnsibleFest we have officially release the first release candidate for Ansible 2.0!

For details and background, please see the original beta announcement here: https://groups.google.com/d/msg/ansible-project/_hTjEIpbA_Y/GtllImCkCQAJ

How do you get it?
----------------------------------------------------------------------

The tar.gz of the release can be found here:

SHA256: 6d45c6ed5c36e92e3fce32f971bd6e2c58a4d5cf892b2af5dd9fa6874fc4ee6c

You can also test against the git repository as follows:

$ cd ansible
$ git checkout v2.0.0-0.6.rc1
$ 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

If you discover any errors related to this beta release, 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 you're testing against this release candidate.

Thanks!

James Cammarata
Director, Ansible Core Engineering
github: jimi-c

John Peacock

unread,
Nov 20, 2015, 6:48:59 PM11/20/15
to Ansible Project, ansible-...@googlegroups.com
Is there a document anywhere that describes the changes and/or recommendations to migrate playbooks from 1.9.x to 2.0.0 (I'm not seeing anything obvious)?  I installed 2.0.0 and attempted to run an existing playbook and it fell over immediately.  It appears that variable scope has changed in significant ways (the play errored out checking a variable that had been defined in group_vars/all).

TIA

John

Brian Coca

unread,
Nov 20, 2015, 7:47:04 PM11/20/15
to Ansible Project, ansible-...@googlegroups.com
The changelog has most of the things you need to look at
https://github.com/ansible/ansible/blob/stable-2.0/CHANGELOG.md

Variable scope has not changed, precedence has been clarified and
templating has been defered to the last possible moment.
These last 2 have made it possible to fix many silent errors, which
are now shown when they were ignored before.

--
Brian Coca

Matt Martz

unread,
Nov 20, 2015, 8:28:45 PM11/20/15
to ansible...@googlegroups.com, ansible-...@googlegroups.com
I would also recommend creating a new thread on ansible-project with any problems you are having.

Generally speaking, 2.0 should be backwards compatible, and if you are having issues with a playbook that ran fine, we should probably know a little more about it to determine if it is an issue with the 2.0 code base.
--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAJ5XC8mmWfqocDHEQ%2BJaTwMMYabooJ5WcV9obTa1wz%2BiKLEzPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
Matt Martz
@sivel
sivel.net

Brian Huddleston

unread,
Nov 21, 2015, 2:05:43 PM11/21/15
to Ansible Project, ansible-...@googlegroups.com
When will we be able to install v2.0 via PIP?  (I'm still seeing 1.9.4)

Matt Martz

unread,
Nov 21, 2015, 8:07:50 PM11/21/15
to ansible...@googlegroups.com
Ansible 2.0 is still in release candidate, and pre releases are not pushed to pypi.

If you wish to install via pip, the following should work:

--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Toshio Kuratomi

unread,
Nov 23, 2015, 12:15:15 PM11/23/15
to ansible...@googlegroups.com
rc1 RPMS for Fedora and RHEL/CentOS (with EPEL enabled) are now built
into the copr repository. You can find it at the usual place:

https://copr-fe.cloud.fedoraproject.org/coprs/toshio/ansible-upstream/

-Toshio
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Announcements" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-announ...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages