Ansible configuration repo for the Skylab (my homelab)
This repository has been archived on 2023-05-19. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2021-12-11 15:59:08 -05:00
playbooks Add bootstrap tasks to node up/down playbooks 2021-12-11 15:59:08 -05:00
resources Fix invalid service name for _meta 2021-12-11 15:59:08 -05:00
roles Add initial config for dedicated monitoring server 2021-11-16 23:21:23 -05:00
tasks/meta Update state directory to mabe not break itself on every reboot 2021-11-09 00:03:05 -05:00
vars Fix misnamed automation account for minecraft user 2021-12-11 15:59:08 -05:00
.gitignore
.pre-commit-config.yaml
ansible
ansible.cfg
inventory.yaml Update nat rule number for adguard server 2021-12-11 15:59:08 -05:00
LICENSE.md
poetry.lock
pyproject.toml
README.md

skylab-ansible

Ansible configs for the Skylab Homelab

Main entrypoint is through the ansible script in this repository. The script sets up basic environment variables to avoid conflicts with other environments and sets the inventory.

Bootstrap checklist:

  1. Install a supported operating system: Rocky Linux
  2. During installation create a user named ansible with any password
  3. After installation copy SSH key to the ansible user
  4. Enable password-less sudo access for the ansible user with this command:
sudo tee /etc/sudoers.d/30-ansible <<<"ansible ALL=(ALL) NOPASSWD:ALL"
  1. Change the UID/GID of the ansible user/group to 1400 with these commands:
sudo usermod -u 1400 ansible
sudo groupmod -g 1400 ansible