Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jsumners/home-server
https://github.com/jsumners/home-server
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jsumners/home-server
- Owner: jsumners
- Created: 2022-09-10T21:56:54.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-26T11:39:54.000Z (5 months ago)
- Last Synced: 2024-06-26T14:34:44.428Z (5 months ago)
- Language: Shell
- Size: 60.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
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`.