I’m running Ansible 2.0.0.2 on a Ubuntu 14.04 Control Machine. I’m using the script module in my Playbook to run a batch file, which executes a PowerShell script to create a Windows share (Windows Server 2012 R2). The Playbook completes successfully:
ok=3 changed=1 unreachable=0 failed=0
However, the share is not created.
I confirmed it works if I run the same batch file manually on the Windows server.
It looks like the PR for the win_share module is ready to be merged - do you know when that would actually be merged into the devel branch?
Also, do you know where my modules are located if I’ve installed Ansible using the apt-get repo? The ansible.cfg on my Ubuntu machine has a commented-out library location: