#!/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