Setup your Devops VM from scratch with only one command!
This repository contains Ansible tasks needed to setup the following modules on your VM or Raspberry:
- periodical autoupgrade
- bigger SWAP
- GIT config
- secure SSH and generate key
- ZeroTier
- pyenv
- cups and airsane for printers
- docker (also moves docker files to a USB to save storage on the internal SD card/ssd)
- awscli
- VSCode
- todo: localstack
- personal projects
- Python (tested on 3.11.3 and Linux) on the host
- Raspberry Pi or VM with a debian-based OS (tested on a Ubuntu 22.04 LTS and 23.04 VM and PoPOS! and Raspberry Pi OS 64-bit bullseye and RPI 3B+)
You need to install Ansible. For that use:
pip install -r requirements.txt
Copy and fill out the following files:
inventory.yml.example
asinventory.yml
- change user and hostmain.yml.example
asmain.yml
- supply missing vars, optionally comment out or edit the tasks
ansible-playbook -i inventory.yml main.yml -vv
- Sandro Grundmann (sgrundmann@pm.me)
forked from Calychas/ansible-pi
- Kacper Leśniara (kacper.lesniara@gmail.com)
This project is licensed under the MIT License - see the LICENSE.md file for details