Hi all,
From time to time I’m getting this strange error:
“module is missing interpreter line”. I’m developing several windows modules which i drop into library/windows. When I execute a playbook including the newly created module, I get that strange error.
I’ve compared my files to the ones included in the devel branch, and cannot find any differences. If I navigate to where Ansible drops the files along with the arguments file in the filesystem and execute them, they run succesfully, outputting json data.
How can I troubleshoot this? I’ve included a test module just in case anyone finds that interesting.
(attachments)
win_chocolatey.ps1 (1.67 KB)