Skip to content

Ansible Playbook to create and run a base configuration of a Homeserver

Notifications You must be signed in to change notification settings

prax93/homeserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Homeserver Automation with Ansible and Docker-Compose

What will be automated

  • Installing Dependencies on Client / Server for now only apt is supported
  • Creating and Exchaning SSH Keys
  • Mounting SMB Share and create the necessary fstab entry
  • Install Docker and give the necessary permissions
  • Install Plex Media Server from snap repository
  • Install Jellyfin from snap repository
  • Copy compose files and Spin up Docker Containers

What Containers will be started

Download Clients

  • transmission-client
  • jdwonloader2

Media Automation

  • sonarr
  • radarr
  • overseerr
  • prowlarr

Network Containers

  • adguardhome
  • wireguard vpn (wgeasy)

Monitoring

  • dozzle

Coming Soon Containers

  • Prometheus
  • APM Tool
  • Grafana
  • Postgres or Mysql
  • Usenet Client
  • Ntfy

Installation

Requirements

  • Openssh up and running on Homeserver Node
  • Static Ip Configuration (LAN)
  • SMB Share (recommended)

Clone Repository

git clone https://github.com/prax93/homeserver.git

Navigate to playbook Folder

cd homeserver/playbook

Edit hosts.yml file in ./playbook

[HomeServer]
192.168.0.100 #Replace with your Servers IP

[HomeServer:vars]
ansible_user=ubuntu #Replace with your Servers Username

Give Running Permissions for init.sh

cd ..
sudo chmod +x init.sh

Run Init Script

sh ./init.sh

To do's

  • Enter server credentials
  • Ask for smb share
  • If smb share not existent: Skip cifs install
  • If smb share not existent: Skip mounting smb share
  • Create Docker Group and append User to the Group
  • Enter Samba Share Location (ip:/sharedFolder) when samba exists
  • Variable Automation
  • Testing
  • Documentation
  • Finalize Playbooks

About

Ansible Playbook to create and run a base configuration of a Homeserver

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages