pyinfra Command Examples

Automates infrastructure at a large scale. More information: https://docs.pyinfra.com.

pyinfra {{target_ip_address}} exec -- {{command_name_and_arguments}}

pyinfra {{path/to/target_list.py}} {{path/to/deploy.py}}

pyinfra @local {{path/to/deploy.py}}

pyinfra @docker/{{container}} {{path/to/deploy.py}}