Skip to content

jsumners/home-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

home-server

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/ansible.git@v2.16.4
  2. Run: ansible-galaxy install -r requirements.yml
  3. Add vault password to .vault-pass
  4. 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"
  2. ln -s /etc/sv/sshd /var/service
  3. Make sure non-root user is added: useradd -m jsumners && passwd jsumners
  4. xbps-install -y python3

Finally, run ansible-playbook main.yml.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages