Using pyinfra
Deploy Reference
rpm_packages
rpm_package
How pyinfra Works
Meta
Documentation may contain unreleased features!
You are reading most recent documentation which may not have been released yet. 1.x is the latest release version available.
host.fact.rpm_packages
Returns a dict of installed rpm packages:
{ 'package_name': ['version'], }
host.fact.rpm_package(name)
Returns information on a .rpm file:
{ 'name': 'my_package', 'version': '1.0.0', }