Ansible 1.9.2 rc1 is now available for testing

Hi all, we’ve just tagged the rc1 release for 1.9.2, which includes several fixes for modules (service, rds, among others) as well as some other minor fixes and improvements.

To test from source, simply clone the git repository (if you haven’t already) and do the following:

$ git checkout v1.9.2-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.2-0.1.rc1
$ git submodule update

for a .tar.gz (output is dist/ansible-1.9.2.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 in one week.

Thanks!

all good, didn’t see any issues.

+1

same on the playbooks/module/plugin we have here

+1

I will be releasing a rc2 for this today, which will incorporate this PR (which was reverted): https://github.com/ansible/ansible-modules-core/pull/384

I’m seeing a bunch of issues with the win_copy version in the devel branch. If this is the one planned for inclusion in 1.9.2 rc2 I’d say it’s not quite ready:

https://github.com/ansible/ansible-modules-core/issues/1404

I use these modules (win_copy, win_template) locally and I had to patch win_copy.ps1 for the modules to properly handle changes in files/templates.
Here is the patch:

`
— win_copy.ps1.orig 2014-12-11 13:50:17.000000000 -0800
+++ win_copy.ps1 2015-05-14 16:56:09.683278480 -0700
@@ -52,17 +52,17 @@

If (Test-Path $dest)
{

  • $dest_checksum = Get-FileChecksum ($dest);
  • $src_checksum = Get-FileChecksum ($src);
  • [string] $dest_checksum = Get-FileChecksum ($dest);
  • [string] $src_checksum = Get-FileChecksum ($src);
  • If (! $src_checksum.CompareTo($dest_checksum))
  • If ( $src_checksum.CompareTo($dest_checksum))
    {

New-Item -Force creates subdirs for recursive copies

New-Item -Force $dest -Type file;
Copy-Item -Path $src -Destination $dest -Force;
}

  • $dest_checksum = Get-FileChecksum ($dest);
  • If ( $src_checksum.CompareTo($dest_checksum))
  • [string] $dest_checksum = Get-FileChecksum ($dest);
  • If (! $src_checksum.CompareTo($dest_checksum))
    {
    $result.changed = $TRUE;
    }
    `

Just in case anyone is looking at this but not following the github issue, I’ve pushed a pair of PRs to fix this. Both are needed in order to fix.

https://github.com/ansible/ansible/pull/11086

https://github.com/ansible/ansible-modules-core/pull/1438

Jon

Just to update about this, I have created

https://github.com/ansible/ansible/pull/11115

to replace

https://github.com/ansible/ansible/pull/11086 which had some unwanted changes.

Please test. Really sorry if this has held up 1.9.2

Jon

Been working great for me all day.