- Ensure Ansible is installed, ideally from the Ansible repository or via pip (see here)
- Clone this repository and
cd
to it
# To run it with default variables
ansible-playbook playbook.yml
# To see what it'll do
ansible-playbook playbook.yml --list-tasks --list-hosts
# To run it with custom values - recommended
ansible-playbook playbook.yml -e "user=JohnDoe dotfiles_src=https://github.com/JohnDoe/dotfiles.git"
If Ansible complains about ansible.cfg
being world-writable and therefore not a valid Ansible config, amend your permissions with chmod.
chmod 0755 //path/to/repo -R