This repository contains an Ansible playbook for automating the setup of dotfiles. It creates symbolic links from a central directory (~/.dotfiles) to their respective locations in the user's home directory.
Ansible: Ensure Ansible is installed on your system.
git clone git@github.com:vfaergestad/.dotfiles.git <path/to/your/dotfiles>To execute the playbook, navigate to the directory containing the playbook and run:
ansible-playbook dotfiles.ymlTo customize the playbook for your dotfiles, modify the dotfiles variable in the vars section of the playbook. Specify each file's source (src) and destination (dest) as follows:
dotfiles_dir: ~/.dotfiles # Change this if you want to use a different directory for your dotfiles
dotfiles:
- src: .zshrc
dest: ~/.zshrc
- src: .vimrc
dest: ~/.vimrc
# Add more dotfiles as needed