Go to file
CrimsonTome 34a1d5183a
add some examples from Freeside's config
2022-07-28 22:45:43 +01:00
snippets add some examples from Freeside's config 2022-07-28 22:45:43 +01:00
LICENSE Create LICENSE 2022-07-28 21:45:30 +01:00
README.md sys requirements and getting started 2022-07-28 22:28:46 +01:00

README.md

awesome-pyinfra-snippets

A list of awesome snippets to use with Pyinfra.

System Requirements

  • Python 3 + pip
  • pipx
  • Linux (Windows may work but is untested)

Getting Started

  • 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

To run snippets: pyinfra target-or-target-file path/to/snippet.py

TODO: add example

Snippets

Snippets can be found in the snippets folder. See also examples from the official repo

Disclaimers

  • 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.

License

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.