Dotfiles
Document Control
TODO:
- Overall structure.
- Initial draft complete
- Testing
- Ready
User Story: Dotfiles
As a: UNIX and Linux user
I want to:
- copy my dotfiles and cofiguration to a new or existing system
- keep my configuration under version control and use symlinks
So that: I can easily move between systems.
Using the role
Using the role in a playbook
--- - name: Install dotfiles on localhost hosts: - all tasks: - name: dotfiles is configured import_role: name: devopstoolbox.dotfiles vars: dotfiles_repo: "https://github.com/devopstoolbox/dotfiles.git" dotfiles_repo_version: HEAD dotfiles_path: ~/.dotfiles spacemacs_version: "v0.200.13" dotfiles_user: ansible # Link dotfiles dotfiles_files: - .tmux.conf.local - .tmux.conf - .zshrc # Copy (and backup) dotfiles_copy: - .zshrc.local - .gitconfig # Sync (no backup) dotfiles_sync: - .config tags: dotfiles
# Install the role ansible-galaxy install devopstoolbox.dotfiles # Run the playbook ansible-playbook dotfiles-playbook.yml
Last update: 2020-02-09