You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alpha Chen
34abfff74a
|
5 years ago | |
---|---|---|
.bundle | 6 years ago | |
.config | 7 years ago | |
.git_templates/hooks | 10 years ago | |
.github/ISSUE_TEMPLATE | 6 years ago | |
.hammerspoon | 5 years ago | |
.pentadactyl/plugin | 10 years ago | |
.ssh | 5 years ago | |
.vim | 5 years ago | |
.weechat | 7 years ago | |
.zsh | 5 years ago | |
Alfred.alfredpreferences | 5 years ago | |
Dash.dashsync | 5 years ago | |
ansible | 5 years ago | |
bin | 6 years ago | |
bitbar | 5 years ago | |
dnsmasq | 9 years ago | |
osx | 7 years ago | |
resolver | 11 years ago | |
scripts | 9 years ago | |
src | 5 years ago | |
.bash_profile | 10 years ago | |
.bashrc | 10 years ago | |
.chunkwmrc | 6 years ago | |
.gemrc | 10 years ago | |
.gitconfig | 5 years ago | |
.gitignore | 6 years ago | |
.gitmodules | 5 years ago | |
.inputrc | 5 years ago | |
.irbrc | 10 years ago | |
.pentadactylrc | 9 years ago | |
.pryrc | 10 years ago | |
.spacemacs | 8 years ago | |
.tmux.conf | 5 years ago | |
.tridactylrc | 5 years ago | |
.vimrc | 5 years ago | |
Alpha.terminal | 5 years ago | |
LICENSE | 11 years ago | |
README.md | 6 years ago | |
Rakefile | 5 years ago | |
gitignore | 5 years ago | |
safari.css | 8 years ago |
README.md
Dotfiles
This repo contains both my dotfiles as well as Ansible playbooks to provision new machines.
Use at your own risk.
Playbooks
bootstrap.yml
: SSH and Homebrew setupmain.yml
: Pretty much everything elseimac.yml
: For quieting down the broken HDD fan on my iMacmacbook_pro.yml
: Remap Caps Lock to Control on the laptop
Usage
Use a tracking issue as a checklist for local provisioning.
Remote provisioning
On the control machine:
brew install ansible
git clone --recursive git@github.com:kejadlen/dotfiles
cd dotfiles/ansible
echo HOST > hosts.private
ansible-playbook bootstrap.yml --ask-pass --ask-become-pass
ansible-playbook main.yml --ask-become-pass
A couple items that I haven't gotten around to automating yet that need to be manually run post-provisioning:
# Symlink ~/.dotfiles to Dropbox
rm -rf ~/.dotfiles
ln -s ~/Dropbox/dotfiles ~/.dotfiles
Development
Ansible tags are indispensible when tweaking the config:
- command: echo debug
tags: debug
ansible-playbook main.yml --ask-become-pass --tags=debug
TODO
See issues.