#!/usr/bin/env zsh set -ex PATH="$PATH:$HOME/.local/bin" if [[ `uname` == "Linux" ]]; then if [[ -f /etc/pacman.conf ]]; then ansible-playbook -i inventory arch.yml elif [[ -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