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
43d31490f3
|
10 years ago | |
---|---|---|
Alfred 2/Alfred.alfredpreferences | 10 years ago | |
ansible | 10 years ago | |
bash | 10 years ago | |
bin | 10 years ago | |
config/.config/powerline | 10 years ago | |
dnsmasq | 10 years ago | |
git | 10 years ago | |
mackup | 10 years ago | |
pentadactyl | 10 years ago | |
readline | 10 years ago | |
resolver | 11 years ago | |
ruby | 10 years ago | |
src | 10 years ago | |
ssh/.ssh | 10 years ago | |
tmux | 10 years ago | |
vim | 10 years ago | |
.gitignore | 10 years ago | |
.gitmodules | 10 years ago | |
Alpha.terminal | 10 years ago | |
LICENSE | 11 years ago | |
README.md | 10 years ago |
README.md
A new beginning for what used to be my
conf_dir project, since dotfiles
appears to be the conventional name of these types of repos nowadays.
This uses Ansible to provision new machines and stow for managing conf files that can be symlinked.
Usage
# Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install ansible
brew install ansible
# Clone dotfiles
git clone --recursive https://github.com/kejadlen/dotfiles.git ~/.dotfiles
# Xcode
open 'https://itunes.apple.com/us/app/xcode/id497799835?mt=12'
sudo xcodebuild -license
# Run Ansible
cd ~/.dotfiles/ansible && ansible-playbook main.yml --ask-sudo-pass
rm -f ~/*.retry
# Post-Dropbox syncing
rm -rf ~/.dotfiles
ln -s ~/Dropbox/dotfiles ~/.dotfiles
ruby ~/.dotfiles/ansible/scripts/setup_ssh_keys.rb
To update submodules:
git submodule foreach git pull
Development
Ansible tags are indispensible when tweaking the config.
- command: echo debug
tags: debug
ansible-playbook main.yml --ask-sudo-pass --tags debug
Vagrant
vagrant up
ansible vagrant -m ping
TODO
See issues.