This role clone a repository with dotfiles and links them to the current user home.
- CentOS 6
- CentOS 7
- Ubuntu 14.04
- Ubuntu 16.04
- Ubuntu 18.04
- Debian 8
- Debian 9
- dotfiles_git_repo
A git url to the repo holding the dotfiles. Here is mine for example.
dotfiles_repo: "https://github.com/Nani-o/dotfiles"
- dotfiles_clone_path
Path where the repo will be cloned.
dotfiles_repo_clone_path: "{{ ansible_user_dir }}/dotfiles"
- dotfiles_home_path
Path where the dotfiles will be linked.
dotfiles_home_path: "{{ ansible_user_dir }}"
- dotfiles_excludes
A list of filename or regex patterns to exclude from linking into the home folder.
dotfiles_excludes:
- .travis.yml
- hosts: servers
roles:
- { role: dotfiles }
MIT
Sofiane MEDJKOUNE