I have two action modules (found via setting the environment variable ANSIBLE_ACTION_PLUGINS to the directory they live in). a.py wants to use the functionality exposed by b.py to do a thing – both execute on the master and use ActionBase to do various remote operations. Is there a defined way to do this? I suppose I could import one from the other, but that doesn’t seem right, and then I would have to initialize the other plugin manually (since both plugins use method/etc in ActionBase).
I use _execute_module to do various operations already, but it doesn’t work for this – it appears that _execute_module only works for modules that execute remotely?
Thanks!
Dustin