Skip to content

Latest commit

 

History

History
92 lines (59 loc) · 3.11 KB

README.md

File metadata and controls

92 lines (59 loc) · 3.11 KB

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