This will use ansible to setup software and dotfiles for a new system. This playbook will setup your system with the following:
- Git
- Zsh
- Curl
- Nvim & NvChad
- Node & NPM & FNM
- JetBrains Nerd Font
- Dotfiles using Stow
my_ansible_project/inventory/hosts
my_ansible_project/setup.yaml
- apt update
- apt install -y python3 python3-pip python3-venv vim
- mkdir ~/ansible-env
- python3 -m venv ~/ansible-env
- source ~/ansible-env/bin/activate
- pip install ansible
- Setup folder structure as mentioned above
- run
ansible-playbook -i inventory/hosts setup.yaml
- If only wish to install dotfiles, run
ansible-playbook -i inventory/hosts setup.yaml --tags "dotfiles"
- Switch to Zsh shell
- run
nvim
to setup NvChad