Every time I run this plugin, it takes at least a minute to get anything 
back. Each time it is execute I can see a new cache being built inside 
~/.ansible/tmp. Has anyone else had this problem?

$ time ./ec2.py --refresh-cache > /dev/null                                 
                                                                            
                               


real    1m30.124s

user    0m3.784s

sys     0m0.357s

$ time ./ec2.py --list > /dev/null                                          
                                                                            
                               


real    1m17.029s

user    0m3.692s

sys     0m0.334s


$ time ./ec2.py --list > /dev/null


real    1m36.347s

user    0m3.783s

sys     0m0.381s


$ env|grep INI

EC2_INI_PATH=/etc/ansible/ec2.ini


$ egrep 'cache_path|cache_max_age' $EC2_INI_PATH

cache_path = ~/.ansible/tmp

cache_max_age = 3000



-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1ada15c7-b81d-47ae-b0ef-fdbcdba8c7eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to