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