djonasson.dotfiles
Ansible Role: Dotfiles
Ansible role for installing dotfiles from a git repository.
The git repository is cloned into dest
and symlinks, one for each dotfile, are added in installation_dir
.
Requirements
Requires git
on the managed machine.
Role Variables
The role variables are defined in defaults/main.yml
with these defaults:
repo: "https://github.com/djonasson/dotfiles.git"
dest: "~/.dotfiles"
version: master
accept_hostkey: false
installation_dir: "~"
Dependencies
None
Example Playbook
- hosts: localhost
roles:
- role: djonasson.dotfiles
License
MIT
Author
This ansible role was created by Daniel Jonasson.
Install
ansible-galaxy install djonasson.dotfiles
License
mit
Downloads
61
Owner