Pacman Facts

pacman_packages

host.fact.pacman_packages

Returns a dict of installed pacman packages:

{
    'package_name': ['version'],
}