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
9292e99d80
|
3 years ago | |
---|---|---|
.bundle | 3 years ago | |
.config | 4 years ago | |
.git_templates | 4 years ago | |
.github/ISSUE_TEMPLATE | 3 years ago | |
.hammerspoon | 3 years ago | |
.pentadactyl/plugin | 10 years ago | |
.ssh | 4 years ago | |
.vim | 3 years ago | |
.weechat | 7 years ago | |
.zsh/modules/docker-completion | 5 years ago | |
Alfred.alfredpreferences | 3 years ago | |
Dash.dashsync | 3 years ago | |
ansible | 3 years ago | |
bin | 4 years ago | |
bitbar | 5 years ago | |
dnsmasq | 9 years ago | |
osx | 4 years ago | |
resolver | 11 years ago | |
scripts | 9 years ago | |
src | 3 years ago | |
vscode | 4 years ago | |
.bash_profile | 10 years ago | |
.bashrc | 10 years ago | |
.chunkwmrc | 6 years ago | |
.gemrc | 10 years ago | |
.gitattributes | 4 years ago | |
.gitconfig | 4 years ago | |
.gitignore | 3 years ago | |
.gitmodules | 3 years ago | |
.inputrc | 5 years ago | |
.irbrc | 10 years ago | |
.pentadactylrc | 9 years ago | |
.pryrc | 4 years ago | |
.spacemacs | 8 years ago | |
.tmux.conf | 4 years ago | |
.tridactylrc | 5 years ago | |
.vimrc | 3 years ago | |
Alpha.terminal | 4 years ago | |
LICENSE | 11 years ago | |
README.md | 6 years ago | |
Rakefile | 4 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.