Go to file
2024-09-07 20:29:03 +02:00
ararat some basic structure 2024-05-16 21:18:15 +02:00
baixun some basic structure 2024-05-16 21:18:15 +02:00
files add 2e20's public key to authorized_keys 2024-09-07 20:29:03 +02:00
deploy.py some basic structure 2024-05-16 21:18:15 +02:00
inventory.py some basic structure 2024-05-16 21:18:15 +02:00
README.md some basic structure 2024-05-16 21:18:15 +02: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