The example requires a recent version of Vagrant to be installed. Usage:
vagrant up
# Run with example inventory & deploy files
pyinfra -i inventories/example.py deploy.py
Key files:
- deploy.py contains the operations to run on the remote hosts
- inventories/example.py example inventory file for the Vagrant VM's
- api_deploy.py API based example