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/20230504073048.1083a781%40rovaniemi.
