Re: [ansible-project] Trouble integrating custom module_utils module

2019-01-18 Thread Andrei Pashkin
If someone having the same problem - I've found a workaround. I just use imp.find_module()/imp.load_module()functions from the standard library to load the module with shared code into a plugin module. On Tuesday, January 15, 2019 at 7:10:31 AM UTC+3, Andrei Pashkin wrote: > > That makes it

Re: [ansible-project] Trouble integrating custom module_utils module

2019-01-14 Thread Andrei Pashkin
That makes it clear, thanks a lot! On Tuesday, January 15, 2019 at 1:24:38 AM UTC+3, Matt Martz wrote: > > We do not currently support importing custom module_utils from anything > other than a module. As such, no other custom plugin types can import from > a custom module_utils. > > See

Re: [ansible-project] Trouble integrating custom module_utils module

2019-01-14 Thread Matt Martz
We do not currently support importing custom module_utils from anything other than a module. As such, no other custom plugin types can import from a custom module_utils. See https://github.com/ansible/ansible/issues/28770 On Mon, Jan 14, 2019 at 4:00 PM Andrei Pashkin wrote: > Hello! > > I