v2 winrm integration tests; test_win_fetch; file module not found

Before I raise a bug report, can anyone confirm that they are able to run through the winrm integration tests.

Currently they are failing for me at the first step of test_win_fetch

test_win_fetch : clean out the test directory]

which is a pretty straightforward local action

  • name: clean out the test directory
    local_action: file name={{ output_dir|mandatory }} state=absent
    run_once: true

The error I’m getting is:

fatal: [win-testbox1]: FAILED! => {“failed”: true, “msg”: “ERROR! The module file was not found in configured module paths”}

ansible --version reports:

ansible 2.0.0 (devel 9bb95b5235) last updated 2015/08/21 06:47:52 (GMT +100)
lib/ansible/modules/core: (detached HEAD 4721d6d8b5) last updated 2015/08/21 06:49:37 (GMT +100)
lib/ansible/modules/extras: (detached HEAD 785cd24a02) last updated 2015/08/21 06:49:17 (GMT +100)
v1/ansible/modules/core: (detached HEAD f8d8af17cd) last updated 2015/06/10 18:29:52 (GMT +100)
v1/ansible/modules/extras: (detached HEAD 495ad450e5) last updated 2015/06/10 18:30:43 (GMT +100)
config file = /etc/ansible/ansible.cfg
configured module search path = /etc/ansible/library

My /etc/ansible/library currently contains no files, but wonder if having that set in my ansible.cfg is messing up the search path for modules. Not sure why it would affect this particular module though.

Anyone able to reproduce?

I’m pointing at a single Windows Server 2012 R2 instance (although that doesn’t seem to be relevant).

Many thanks,

Jon

I'm also seeing the same error -- there have been some local_action /
delegate_to chances recently that could have broken something.

Ok thanks,

Raised as https://github.com/ansible/ansible/issues/12056 so we can track it there.

Jon