@local Connector

The @local connector executes changes on the local machine using subprocesses. This connector is only compatible with MacOS & Linux hosts.

Examples:

# Install nginx
pyinfra inventory.py apt.packages nginx update=true _sudo=true

Usage

pyinfra @local/name ...