I made sure the UAC was disabled on all servers, also went through the event viewer on the servers and there are no errors at all.
I ran the playbook with -vvvv and got the out put below. From what I can see there is nothing to indicate why the script isnt running? Can you see anything?
TASK [Configure Octopus Deploy] ************************************************
task path: /var/lib/awx/projects/Ansible Wintech Modules/windows/test_installocto.yml:5
<10.10.3.168> ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT 5986 TO 10.10.3.168
<10.10.3.167> ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT 5986 TO 10.10.3.167
<10.10.3.168> EXEC Set-StrictMode -Version Latest
(New-Item -Type Directory -Path $env:temp -Name "ansible-tmp-1455274488.54-175087382503447").FullName | Write-Host -Separator '';
<10.10.3.167> EXEC Set-StrictMode -Version Latest
(New-Item -Type Directory -Path $env:temp -Name "ansible-tmp-1455274488.55-16112873211253").FullName | Write-Host -Separator '';
<10.10.3.167> PUT "/var/lib/awx/projects/Ansible Wintech Modules/windows/files/octo_autoconfig.ps1" TO "C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1455274488.55-16112873211253\octo_autoconfig.ps1"
<10.10.3.168> PUT "/var/lib/awx/projects/Ansible Wintech Modules/windows/files/octo_autoconfig.ps1" TO "C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1455274488.54-175087382503447\octo_autoconfig.ps1"
<10.10.3.167> EXEC & "C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1455274488.55-16112873211253\octo_autoconfig.ps1"
<10.10.3.168> EXEC & "C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1455274488.54-175087382503447\octo_autoconfig.ps1"
<10.10.3.167> EXEC Set-StrictMode -Version Latest
Remove-Item "C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1455274488.55-16112873211253" -Force -Recurse;
<10.10.3.168> EXEC Set-StrictMode -Version Latest
Remove-Item "C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1455274488.54-175087382503447" -Force -Recurse;
changed: [10.10.3.167] => {"changed": true, "invocation": {"module_args": {"_raw_params": "files/octo_autoconfig.ps1"}, "module_name": "script"}, "rc": 0, "stderr": "", "stdout": "", "stdout_lines": []}
changed: [10.10.3.168] => {"changed": true, "invocation": {"module_args": {"_raw_params": "files/octo_autoconfig.ps1"}, "module_name": "script"}, "rc": 0, "stderr": "", "stdout": "", "stdout_lines": []}
PLAY RECAP *********************************************************************
10.10.3.167 : ok=2 changed=1 unreachable=0 failed=0
10.10.3.168 : ok=2 changed=1 unreachable=0 failed=0
[root@uk-ansible01 windows]# UAC
Cheers
Mark