-
sshinto the Ansible control server (currentlycontrol.netsoc.co:2222)ssh <username>@control.netsoc.co -p 2222 -i <path to ssh key>- If you have not supplied an SSH key to the Head SysAdmin already:
- Open a PR adding your username and key to
setup-control-host.yml
- Open a PR adding your username and key to
-
Clone this repo
-
Run
./start-dev.shinside the cloned folder (or./start-dev.sh fishto use fish instead of bash)- You will need to run
./start-dev.shto setup the correct Python packages and environment variables. You must do this before beginning any development/deployment - You will be able to tell you have done this when your terminal prompt looks like this:
(NaC) <user>@feynman:~/NaC#
- You will need to run
-
You will need a
keys/folder which contains SSH keys to target all physical and virtual machines. Ask the Head SysAdmin for this.- Do NOT commit them or remove the
keys/clause from.gitignore. - Do NOT share them with people who are not SysAdmins
- Do NOT leave them sitting on a random server somewhere
- Do NOT commit them or remove the
-
You can peek and edit the vault using
./vault-peek.shand./vault-edit.sh -
You can list *.vm.netsoc.co by using
./vm-list.sh -
You can ssh into *.vm.netsoc.co by running
./vm-ssh.sh <hostname>, i.e./vm-ssh.sh web.infra.netsoc.co -
The Proxmox Web UI is available at
proxmox.netsoc.co. You may need to typethisisunsafe(if using Chrome) to get past the SSL warning -
For your development, you can use
sshfs/ VSCode Remote /vimon the control server / a git branch.- You will need to run your playbooks on the control server
- Consider making an issue or contact us in
#serversin our Discord- We'll welcome any help!
- Check out our wiki
This repo currently contains both playbooks for managing 2019/2020 bare-metal infra and 2020/2021 Proxmox infra. Do not get them confused, have a look at ./hosts to see what's going on.