Prerequisite: Ensure you have
ansibleinstalled.
-
Clone the repository:
git clone https://github.com/rc0j/dotfiles.git ~/.dotfiles -
Run the bootstrap playbook:
ansible-playbook --diff ~/.dotfiles/script/bootstrap.ymlThis will symlink the appropriate configuration files from
.dotfilesinto your home directory.
During the playbook run, the following task removes any existing configuration files before creating new ones:
- name: Remove previous conf
ansible.builtin.file:
path:
- ~/.zshrc
- ~/.tmux.conf
- ~/.local/bin
state: absentMake sure to back up anything important beforehand.
No custom scripts added yet