Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jsumners/home-server


https://github.com/jsumners/home-server

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# home-server

[Ansible](https://github.com/ansible/ansible) playbook for configuring whatever
server will be managing my home-server (system that provides services like
local DNS and Unifi Protect video backup).

## Setup

1. Install Ansible: `pip3 install --user git+https://github.com/ansible/[email protected]`
1. Run: `ansible-galaxy install -r requirements.yml`
1. Add vault password to `.vault-pass`
1. Install `sshpass`: https://github.com/jsumners/dotfiles/blob/f62ad272e9ba07fc3649e7b0deb96ff261304f90/install-sshpass.sh

## Server Prep

Some things need to be done on the server manually before it is ready to
accept Ansible automation.

1. Update `/etc/ssh/sshd_config` to enable "PasswordAuthentication yes"
1. `ln -s /etc/sv/sshd /var/service`
1. Make sure non-root user is added: `useradd -m jsumners && passwd jsumners`
1. `xbps-install -y python3`

Finally, run `ansible-playbook main.yml`.