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
}




-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/72be3501-1c86-4896-ad49-c1afedd9478a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to