File: README.md

package info (click to toggle)
pyinfra 0.2.2%2Bgit20161227.ec708ef-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 11,804 kB
  • ctags: 677
  • sloc: python: 5,944; sh: 71; makefile: 11
file content (20 lines) | stat: -rw-r--r-- 468 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# pyinfra example

The example requires a recent version of Vagrant to be installed. Usage:

```sh
vagrant up

# Run with example inventory & deploy files
pyinfra -i inventories/example.py deploy.py
```

Key files:

+ [**deploy.py**](deploy.py) contains the operations to run on the remote hosts
+ [**inventories/example.py**](inventories/example.py) example inventory file for the Vagrant VM's


## API Example

+ [**api_deploy.py**](api_deploy.py) API based example