[ansible-devel] Re: Who triggers the wrapper script generation on a Windows node ?

2019-08-17 Thread Prasoon Karunan
Cool, that helped a lot. But now into another confusion. There is an array list getting created which is used to create complex_args in module_powershell_wrapper and there is a condition in Parse-Args/GetParam() to use complex_args if $args doesn't have any value. Since $complex_args variable

[ansible-devel] Re: Who triggers the wrapper script generation on a Windows node ?

2019-08-17 Thread Prasoon Karunan
Cool, that helped a lot. But now into another confusion. There is an array list getting created which is used to create complex_args in module_powershell_wrapper and there is a condition in Parse-Args/GetParam() to use complex_args if $args doesn't have any value. Since $complex_args variable

[ansible-devel] Re: Who triggers the wrapper script generation on a Windows node ?

2019-08-16 Thread Prasoon Karunan
Awesome, thanks for the brief explanation. So correct me if I'm wrong, func exec_command is the one which does the pipeliinig execution , which is then accepted by $input via and then call execwrapper scriptblock ? On Friday, August 16, 2019 at 2:40:57 AM UTC+5:30, Jordan Borean wrote: > > Hi >

[ansible-devel] Who triggers the wrapper script generation on a Windows node ?

2019-08-15 Thread Prasoon Karunan
Hi Folks, I am now trying to understand how ansible module execution happens on a Windows node. I've understood about the wrapper scripts and the json file which contains everything, but cannot find the starting point of the below code begin { $path =

[ansible-devel] How does ansible trigger the wrapper script on a windows node

2019-08-15 Thread Prasoon Karunan
Hi Folks, I am now trying to understand how ansible module execution happens on a Windows node. I've understood about the wrapper scripts and the json file which contains everything, but cannot find the starting point of the below code begin { $path =