Hello,

I'm using lookup_plugin which go to external service and get variables via 
HTTPS protocol.

Several time ago I noticed that playbooks had took more time than before. 
During investigation I found that my lookup_plugin runs on every tasks even 
if currently running task do not use variables.

For example if I specify *linux_password* variable in group *all* this 
PluginName will be call on every task on every hostname.

[all]
linux_password: "{{ lookup('PluginName', 'linux_password')}}"

I'm not sure but seems previously Ansible call lookup_plugin only in case 
that is really need this variable.

Do you know what have changed and if it possible to turn it back?
In the ideal case in my opinoon it would be great if Ansible *can* cache 
variable in memory.   

 Best regards

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to