dotfiles
dotfiles_role
Deploy dotfiles from git repositories
Requirements
git
on managed machines (git_role)
Install
requirements.yml
:
roles:
- name: charlesrocket.dotfiles
Example
- name: Playbook
hosts: all
roles:
- charlesrocket.dotfiles
Set variables
Example
dotfiles_repo: "https://github.com/charlesrocket/dotfiles.git" # dotfiles
dotfiles_repo_version: openbsd # branch to track
dotfiles_repo_accept_hostkey: false # StrictHostKeyChecking
dotfiles_repo_force: false # force git clone
dotfiles_repo_local_destination: "~/git/dotfiles" # local repo path
dotfiles_home: "~" # local dotfiles path
dotfiles_files: # files to track
- .config/mc/ini
- .zshrc