A list of awesome snippets to use with Pyinfra.
- Python 3 + pip
- pipx
- Linux (Windows may work but is untested)
pipx install pyinfra
- (strongly recommended) have a valid SSH config file with your SSH keys added to any target machines with
ssh-copy-id
- snippets in this repo will likely assume you have one
To run snippets: pyinfra target-or-target-file path/to/snippet.py
TODO: add example
Snippets can be found in the snippets folder. See also examples from the official repo
- I (CrimsonTome) will not be held liable for any damages made to systems executing these scripts. You are always advised to look before you run anything. If you don't understand something:
- look it up
- read the docs
- or just don't run it
This list has no affiliation with the awesome lists as it would not meet the guidelines because this is more of a code snippet list than a resource list with lots of links. As such this repo cannot be Awesome certified.
awesome-pyinfra-snippets is released under the MIT license. The full license text is included in the LICENSE file in this repository. Tldr legal have a great summary of the license if you're interested.