Connectors IndexΒΆ

Connectors enable pyinfra to integrate with other tools out of the box. Connectors can do one of three things:

  • Implement how commands are executed (@ssh, @local)
  • Generate inventory hosts and data (@terraform and @vagrant)
  • Both of the above (@docker)

Each connector page is listed below and contains examples as well as a list of available data that can be used to configure the connector.

Want a new connector? Check out the writing connectors guide.

Popular connectors

@ssh Connector

Connect to any SSH server.

@docker Connector

Create or modify Docker containers.

@terraform Connector

Get SSH targets from Terraform output.

@local Connector

Connect to the local machine running pyinfra.

All connectors