Poojithaa,

You're probably encountering the error here: 
https://github.com/ansible/ansible/blob/devel/lib/ansible/executor/module_common.py#L512

Due to possible version differences between the python version used to 
compile the module and the python version on the remote system which will 
execute the module, modules must be available as source.

 - Matt

On Wednesday, February 15, 2017 at 4:19:07 AM UTC-8, Poojitha A wrote:
>
> Hi Guys.
>
> currently we are shipping our code as .pyo to ensure a minimal security to 
> our python code base. I wanted to know if passing the 
> module_path='library_path' where the library path has
>
> .pyo files instead of .py files work, since I was getting an error saying 
> module not found. 
>
> Can someone please comment on this? 
>
>
> Thanks
> Poojithaa
>

-- 
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/71fa9a1c-7900-4fba-a9d1-865915a2acef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to