Ansible 1.9.1 rc1 is now available for testing

Hi all, we’ve just tagged the rc1 release for 1.9.1
To test from source, simply clone the git repository (if you haven’t already) and do the following:

$ git checkout v1.9.1-0.1.rc1
$ git submodule update
$ . hacking/env-setup

After which time you can run ansible and ansible-playbook like normal. If you’re not familiar with the hacking/env-setup script, please refer to the documentation here:

http://docs.ansible.com/intro_installation.html#running-from-source

To make a tar ball, RPM or DEB with which to test, do the following:

$ git checkout v1.9.1-0.1.rc1
$ git submodule update

for a .tar.gz (output is dist/ansible-1.9.1.tar.gz)

$ make sdist

for RPMs

$ OFFICIAL=yes make rpm

for DEBs

$ OFFICIAL=yes make deb

If you discover any errors related to this release candidate, please open a Github issue and be sure to mention which version you’re testing. We will be looking to evaluate the status of this release candidate on Wednesday, April 8th, at which time we will decide if we will cut the final release or if we need to do an rc2 release.

Thanks!

Hi James,

I built a wheel from the tarball, but the wheel didn’t contain any modules:

$ pip list --user
pip (6.1.1)
setuptools (15.0)
wheel (0.24.0)

$ ll wheelhouse/ansible*
2112 -rw-r–r-- 1 anandb staff 1081248 Feb 23 13:51 wheelhouse/ansible-1.8.4-py2-none-any.whl
720 -rw-r–r-- 1 anandb staff 364708 Apr 7 20:30 wheelhouse/ansible-1.9.1-py2-none-any.whl

Notice how the ansible 1.9 wheel is much smaller in size. It’s missing all the modules.

Regards,
Anand

Hi Anand, when you cloned the repo, did you update the submodules?

I didn’t clone the repo. I fetched the tarball, and built the wheel from it, like this:

$ pip wheel --no-deps ansible-1.9.1-0.1.rc1.tar.gz

Where did you grab the tarball from? GitHub? If so then that would be expected since the module repos are separate from the core repo, you only pulled 1 of 3 required if you do it that way.

You can do it directly via pip with the following command:

pip wheel git+https://github.com/ansible/ansible.git@v1.9.1-0.1.rc1#egg=ansible

pip will handle updating the submodules and such for you.

Found a 1.9 regression that it would be great if it can be fixed for 1.9.1: https://github.com/ansible/ansible/issues/10661