Giter Site home page Giter Site logo

homelab's Introduction

Ansible Yaml Check

Personal Infrastructure

Build out for my systems.

Uses

  • Vagrant
  • Terraform
  • Podman
  • KVM Qemu
  • ZFS
  • RedHat via the developer subscription
  • CentOS Stream
  • Raspberry Pi OS (Debian 11)

Roles

Utilities:

  • common: base packages, users, configs
  • sshd: ssh config, with figlet & random quote
  • zram: ram compression before disk swap
  • base-nginx: reverse proxy & ssl certificates
  • timecap: timecapsule service
  • ac_backup: rsync file backup
  • file_store: simple https file server
  • wakeonwin: bash alias file to wake my PC
  • rpi2b_setup: rpi2b specific tweaks
  • munin-node: resource monitor
  • flexget: transmission automation
  • piglow: support for PiGlow hardware on Raspberry Pi

Apps:

  • blog: Flask app for my blog
  • gitea: git repo
  • pihole: DNS with ad-guard
  • munin-server: resource monitor gui
  • plex: personal media streaming service
  • transmission: bittorrent client
  • jenkins: automation server
  • jenkins-agent: automation agent

Setup:

Requires Ansible and Vagrant on your host.

# pull the latest
$ git pull http://git.ianhaddock.com/ian/ansible.git

# install requirements
$ ansible-galaxy install -r roles/requirements.yml

# update Vagrantfile to conform to your VM product and IP space

# clone group_vars/all.yml file to create host_vars files
$ mkdir host_vars
$ cp group_vars/all.yml host_vars/[ip.address].yml

# edit host_vars files to match Vagrantfile
 
# generate ansible admin account ssh-key
$ ssh-keygen -f ~/.ssh/ansible

# add admin public key to common role files
$ mkdir -p roles/common/files/public_key
$ cp ~/.ssh/ansible.pub roles/common/files/public_keys/

# provision development VM
$ vagrant up --provision

# run playbook 
$ ansible-playbook --private-key ~/.ssh/ansible -u ansible -i development site.yml
 

homelab's People

Contributors

ianhaddock avatar

Stargazers

Joe Agler avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.