On 02.02.2022 19:01, Brian Coca wrote:
No code is cached between Ansible runs, but you CAN have 2 instances
of the same collection installed, but only the first one loaded will
be used, I suspect this is your issue.

I found the problem: this was about a facts plugin that i was working on,
and i had redis-based persistent cache and high enough ttl.
So, when running the facts gathering play, the code actually was not working,
and ansible would just report back the cached facts giving me the wrong 
impression.

so, with --flush-cache i solved the problem and i can be certain that fresh 
facts are
gathered each time.

Thank you!
Adrian

--
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/83abac65-da5e-fa07-3ef7-46b5515bcbc2%40gmail.com.

Reply via email to