Hi Carwyn, I would consider creating custom Ansible fact for this task.
But there are still some possible drawbacks 1) there can be lot of packages on machine (1900 on my laptop, 450 on random server) and you have to ask your packaging system (took ~0.5-2 seconds). 2) this long lost of packages and its version have to be transfered from target machine to your managing machine. It also needs some time. So I would probably consider creating custom fact only for packages you are interest in - like glibc, openssl, and similar fragile components. Have a nice day --Věroš -- 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/CABWwdO_UYU%3DsxqvE92uSDVa9PzXjvUFqrg-wMvPGBWQURpWB%2Bw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
