dotfiles/bin/executable_update

14 lines
343 B
Bash

#!/usr/bin/env sh
# provide tags to update with comma seperation (e.g. updates,packages)
set -e
echo -e "Starting update for Fedora..."
# Goto playbook and run it
cd ~/.dotfiles/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 -