15 lines
540 B
Markdown
15 lines
540 B
Markdown
|
# 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
|