fabricant.ucsd.edu configuration
- Create a
fabricant-adminuser and add it to the sudoers group - Create and install a GitHub deploy key `. Ensure that the system can SSH into itself
- Install
sudo,git,python3.11-venv - Clone this repo
git clone git@github.com:KastnerRG/fabricant.git /home/fabricant-admin/fabricant-host
- Install Bitwarden Client
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash # install nvm
source ~/.bashrc # activate nvm
nvm install v24.3.0 # install node 24.3.0
nvm exec v24.3.0 # activate node
npm install -g @bitwarden/cli # installs bw
bw config server https://vault.e4e-gateway.ucsd.edu # configures bw to our vault
bw login # Logs in
- Bootstrap creds
bw unlock --raw > ~/fabricant-host/.bw_session
- Create a venv at
~/fabricant-host/.venv
python3 -m venv ~/fabricant-host/.venv`
- Activate venv
source ~/fabricant-host/.venv/bin/activate
- Install dependencies
python -m pip install --upgrade pip poetry
cd ~/fabricant-host/
poetry install
- Install
ansible-playbook playbook.yml