LinuxCommandLibrary

pyinfra

Automates infrastructure at a large scale.

TLDR

Execute a command over SSH

$ pyinfra [target_ip_address] exec -- [command_name_and_arguments]
copy


Execute contents of a deploy file on a list of targets
$ pyinfra [path/to/target_list.py] [path/to/deploy.py]
copy


Execute commands on locally
$ pyinfra @local [path/to/deploy.py]
copy


Execute commands over Docker
$ pyinfra @docker/[container] [path/to/deploy.py]
copy

Copied to clipboard