dotfiles/playbooks/launch
2018-11-12 14:38:19 -05:00

14 lines
251 B
Bash
Executable file

#!/usr/bin/env zsh
set -ex
git pull
if [[ `uname` == "Linux" ]]; then
if [[ -f /etc/lsb-release ]]; then
ansible-playbook -i inventory ubuntu.yml
else
ansible-playbook -i inventory fedora.yml
fi
else
ansible-playbook -i inventory osx.yml
fi