Using pyinfra
Deploy Reference
apt_keys
apt_sources
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.apt_keys
host.fact.apt_sources
Returns a list of installed apt sources:
[ { 'type': 'deb', 'url': 'http://archive.ubuntu.org', 'distribution': 'trusty', 'components', ['main', 'multiverse'], }, ]