Earlier quoted context omitted.
Thank you for posting this! Happy to answer any questions anyone has :)
I just found about this project from this comment, absolutely excited to try this out. As someone who's never used any of the infrastructure tools, I'm thinking of pyinfra as a way to run shell commands + install dependencies on hosts (declaratively?) on a bunch of hosts via ssh. Inventory is to sort of take a self-defined inventory on a bunch of hosts? One final question on usage, would it be possible to sync or ref…
- ops are (mostly) declarative, but some (server.shell) will always execute the command given
- inventory is just that, basically a list of hosts to target plus associated data, docs page: https://docs.pyinfra.com/en/2.x/inventory-data.html
- absolutely for syncing files, check out the files.put and files.template operations (and the files ops in general): https://docs.pyinfra.com/en/2.x/operations/files.html