In light of the recent glibc issue. I've been trying to use ansible to query the installed version of glibc, can anyone suggest something I might be missing here.
Option 1: ansible all -m yum -a "list=installed" Unfortunately the list option to the yum module doesn't seem to accept any further arguments and hence can only return all installed packages. Not ideal. The output is nice though as it's JSON with lots of information. Option 2: ansible all -a "rpm -q glibc" Works but it feels like this would be a useful thing to be able to do via the package modules? Carwyn This is similar in the salt world: https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.yumpkg.html#salt.modules.yumpkg.info_installed -- 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/ea2343dc-662c-4956-9a4e-6b5b04bbc333%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
