Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/andreijiroh-dev/bootstrap-scripts-linux. Shell scripts and Ansible playbooks to setup a fresh Linux install post-install.
Something went wrong. Try again.
505 B · 17 lines
at main
123456789101112131415161718#!/usr/bin/env bash# Copyright (c) Andrei Jiroh Halili# SPDX-License-Identifier: MPL-2.0# # This script installs ansible and OpenSSH cleint+server on $DISTRO# in order to run the playbooks.set -eif [[ $DEBUG != "" ]]; then set -xfiROOT="$( cd -- "$(dirname "$0/")/../.." >/dev/null 2>&1 ; pwd -P )"USERNAME=${ANSIBLE_VAR_USERNAME:-"ajhalili2006"}HOSTNAME=${ANSIBLE_VAR_HOSTNAME:-"ajhalili2006-lab"}ansible-playbook "$ROOT/ansible/alpine/setup.yml" --extra-vars "username=$USERNAME" -vvvv