applications | ||
roles | ||
scripts | ||
skel | ||
skel.old | ||
skel.vim | ||
.gitignore | ||
hosts | ||
main.yml | ||
README.md | ||
requirements.txt | ||
sync.sh |
Sync
Syncs austenwares.com offical bash/zsh/tmux/vim/... config files
Installation
-
Using Ansible (more setup, easier syncing)
git clone https://austenwares.com/gitea/stonewareslord/sync cd sync virtualenv .env . .env/bin/activate pip install -r requirements.txt ./sync.sh TAG[,TAG2...] [ANSIBLE-OPTS]
-
Using stow (quicker, easier, less features)
git clone https://austenwares.com/gitea/stonewareslord/sync ~/sync cd ~/sync stow skel stow vim
-
Installing vim
vim +'call Initialize()'
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