Bootstrapping dotfiles setup via scripts (bash, zsh) eventually gets complicated. How can Ansible be leveraged to automate setup?
Steps:
$dotfiles_dir
Run the playbook (the become
password is your user's password)
cd $dotfiles_dir/ansible
ansible-playbook -i hosts setup-dotfiles.yml --ask-become-pass
Do also check out the dotfiles utilities listed in https://dotfiles.github.io/