Skip to content

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

License

Notifications You must be signed in to change notification settings

Giancarmine/ansible-DRP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published