So, if I'm getting this right, the idea is that the custom plugin code 
connects with a daemon process. And that daemon maintains the connection 
and other stateful data ?
On Thursday, May 4, 2023 at 7:31:08 AM UTC+2 Felix Fontein wrote:

> Hi,
>
> > Is it possible to put a client object somewhere so it can be
> > shared/reused by custom plugins ? That is, only for tasks running on
> > the controlling node. 
> > 
> > I'm trying to reuse the very same pysnow client object in successive
> > tasks. Hoping to improve the performance of a very long running
> > playbook.
>
> for modules there exists some framework in cloud.common
> (https://galaxy.ansible.com/cloud/common) called 'Ansible turbo module'
> providing something like that (disclaimer: I've never used it). Not
> sure whether that also works for plugins though...
>
> Cheers,
> Felix
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5d5a9dc6-e416-4d78-9243-2d867f14b2dan%40googlegroups.com.

Reply via email to