To call Ansible legacy module from within library's custom module

5 views
Skip to first unread message

Leo Y

unread,
Jan 27, 2019, 8:18:53 AM1/27/19
to Ansible Project
I would like to use existing implementations while developing a custom module. For this matter, I want to use k8s_raw module to communicate with Kubernetes cluster instead of importing python packages and managing the whole logic.
How can I call an Ansible legacy module, for example a `k8s_raw` from python code of the custom library module?

Thank you,
Leonid Y
Reply all
Reply to author
Forward
0 new messages