Setup dev machines using ansible.
pip install ansible
ansible-playbook -i hosts_file dev-setup.yml
Note:
- The root folder of the repository should be the
pwd
when the command is executed for thedotfiles
to be found - The
hosts_file
should contain a sectiondev
listing all the remote machines to setup (either as IP addresses or as hostnames which could be resolved by either the DNS, or using the~/.ssh/config
file)
- Create a user (default:
musicallyut
) on the remote machine and ensure that the user cansudo
without any passwords. - Copy over the ssh key to allow me to log into the remote machine easily.
- Install various packages on the remote machine:
git
,vim
,tmux
,htop
, etc. - Copy over all the dotfiles to the remote machine, and setup
z
. - Install the
vim
plugins usingvim-plug
. - Install
powerline-fonts
on the machine. - Set up
nvm
and install Node version 12. - Download
miniconda
and extract it.
This leaves the remote machine ready to be used as a development platform for me.