Hello.
Is there any way to create modules using python to deploy packages on windows?
I created simple module that prints "Hello world!" to text file. It works on ansible control machine (rhel):
$ ansible localhost -i hosts.yml -m test
127.0.0.1 | success >> {
"changed": true,
"msg": "./test.txt"
}
But fails on windows remote machine:
$ ansible ansible-slave -i hosts.yml -m test
192.168.163.137 | FAILED >> {
"failed": true,
"msg": "The argument 'C:\\Users\\ansible\\AppData\\Local\\Temp\\ansible-tmp-1429814185.92-235487101584232\\\\test.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1' file as an argument to the -File parameter.\r\n",
"parsed": false
}