Ansible code to manage personal workstation
Open terminal and run:
sudo apt update -y
sudo apt install -y ansible
Clone the repo locally:
git clone https://github.com/frezbo/ansible-workstation.git
git submodule update --init --recursive
cd ansible-workstation
ansible-playbook -K deepwater.yml
After ansible finishes running plug-in the YubiKey and run:
gpg --card-status
and then run:
gpg --card-edit
In the gpg prompt run:
fetch
Once the key is imported, exit the gpg terminal and then set the following environment variables:
export PATH="/home/frezbo/.local/share/aquaproj-aqua/bin:${PATH}"
export AQUA_GLOBAL_CONFIG="/home/frezbo/.config/aquaproj-aqua/aqua.yaml"
export AQUA_EXPERIMENTAL_X_SYS_EXEC="true"
export AQUA_LOG_COLOR="always"
export AQUA_PROGRESS_BAR="true"
then run:
chezmoi diff
chezmoi apply
Log out and log-in.
NB: Long term move over to Nix for proper state. Ref: homelab