0x90-pyinfra/README.md

15 lines
540 B
Markdown
Raw Normal View History

2024-05-16 19:18:15 +00:00
# initial setup
- install `pyinfra` with your favorite package manager
or
- install `pipx` with your favorite package manager
- add `~/.local/bin` to your `PATH`
- `pipx install pyinfra`
# before each use
- communicate your intent to do changes to your co-admins to prevent conflicting access
- run `git pull` to fetch the newest version
- run `pyinfra @local deploy.py` to install/update `0x90.ssh_config` trustmebro
- run `pyinfra --dry inventory.py deploy.py` and check that you are on the same state that is already deployed