Sway DE
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
490 B

#!/usr/bin/env bash
set -e
# Dotfiles' project root directory
ROOTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Host file location
# Main playbook
# Runs Ansible playbook using our user.
# Run the prerun tag to setup Ansible
ansible-playbook -i "$HOSTS" "$PLAYBOOK" --ask-become-pass --tags="prerun"
# Setup the target computer
ansible-playbook -i "$HOSTS" "$PLAYBOOK" --ask-become-pass --skip-tags="prerun"
exit 0