/ansible-DRP

An ansible playbook collection, used to configure a ubuntu remotely or locally

Primary LanguageShellMIT LicenseMIT

ansible-DRP ๐Ÿ”ฅ

An ansible collection, used to configure a ubuntu remotely or locally

vagrant-up

Don't ask me anything, just do the magic. ๐Ÿซ–

wget -qO- https://github.com/Giancarmine/ansible-DRP/blob/main/bootstrap.sh | bash

Prerequisites ๐Ÿ”–

Install Ubuntu

  • Get Ubuntu Latest LTS release ISO image from ubuntu website
  • Create a bootable USB stick using "rufus" or "ventoy"
  • During installation, ensure to use full-disk-encryption, which requires using LVM

Setup Ansible

APT (preferred with ubuntu 22.04 LTS)

sudo apt update
sudo apt install ansible
NETRC=/dev/null ansible-galaxy collection install community.general

Ansible Roles ๐Ÿ“Ž

Role Include Pre-requisite Status
base APT: wget, copyq, curl, fwupd, git, zip, unrar, unzip, net-tools, python3-pip, software-properties-common SNAP: NONE NONE โœ…
ohmyzsh zsh and ohmyzsh config NONE โœ…
topgrade NONE NONE โœ…
vscode NONE NONE โœ…
docker NONE NONE โœ…
k8s_tools kops, kubectl, kubelogin, istioctl, helm, kustomize NONE โœ…

Execute ansible tasks automatically (test purpose) ๐Ÿš€

Execute ansible tasks automatically in a vagrant box

vagrant up

Perform a vagrant clean-up

vagrant destroy

Execute ansible tasks automatically in a vagrant box in a clean environment

vagrant destroy -f && vagrant up

Execute ansible tasks manually ๐Ÿ”ง

Before Start

sh bootstrap.sh

Execute

ansible-playbook utils.yml -K

Tested on ๐Ÿงช

  • ubuntu 24.04

Inspired in

https://github.com/arcones/my-DRP

https://pbassiner.github.io/blog/automating_my_dev_setup.html

https://github.com/pbassiner/dev-env

https://gist.github.com/komuw/b3b5d24977d4df7bd549#gistcomment-3741919

https://github.com/Preetam/transverse/tree/master/.github/actions/ansible