#!/usr/bin/env sh # provide tags to update with comma seperation (e.g. updates,packages) set -e echo -e "Starting update for Void..." # Goto playbook and run it cd {{ .chezmoi.workingTree }}/provision # Install ansible and run playbook ansible-playbook setup.yml -i hosts --ask-become-pass --tags "$1" --skip-tags "once" # Return to where you were cd -