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
63fcbd9f35
|
4 years ago | |
---|---|---|
.bundle | 6 years ago | |
.config | 7 years ago | |
.git_templates | 5 years ago | |
.github/ISSUE_TEMPLATE | 5 years ago | |
.hammerspoon | 4 years ago | |
.pentadactyl/plugin | 10 years ago | |
.ssh | 5 years ago | |
.vim | 4 years ago | |
.weechat | 7 years ago | |
.zsh/modules/docker-completion | 5 years ago | |
Alfred.alfredpreferences | 4 years ago | |
Dash.dashsync | 4 years ago | |
ansible | 4 years ago | |
bin | 5 years ago | |
bitbar | 5 years ago | |
dnsmasq | 9 years ago | |
osx | 4 years ago | |
resolver | 11 years ago | |
scripts | 9 years ago | |
src | 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 | 4 years ago | |
.gitmodules | 5 years ago | |
.inputrc | 5 years ago | |
.irbrc | 10 years ago | |
.pentadactylrc | 9 years ago | |
.pryrc | 4 years ago | |
.spacemacs | 8 years ago | |
.tmux.conf | 5 years ago | |
.tridactylrc | 5 years ago | |
.vimrc | 4 years ago | |
Alpha.terminal | 4 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.