sync/README.md

41 lines
706 B
Markdown
Raw Normal View History

2018-07-05 17:15:28 -04:00
# Sync
2018-07-06 23:33:38 -04:00
Syncs austenwares.com offical bash/zsh/tmux/vim/... config files
### Installation
- Using Ansible
virtualenv .env
. .env/bin/activate
pip install -r requirements.txt
./sync.sh TAG[,TAG2...] [ANSIBLE-OPTS]
- Using stow
stow skel
stow vim
- Installing vim
vim +'call Initialize()'
2018-07-05 17:15:28 -04:00
### Examples
#### Delete everything in skel
./sync.sh clean
#### Secure SSH
./sync.sh secure --ask-become-pass --tags
#### Disable SSH password authentication
./sync.sh secure --extra-vars 'disable_passwordauth=true' --ask-become-pass
#### Use 1.1.1.1 dns
./sync.sh dns --ask-become-pass
#### Sync for root
./sync.sh default,vim --become --ask-become-pass