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-11-05 23:11:30 -04:00
playbooks Fix cache failure with epel on first install 2021-11-05 22:40:57 -04:00
resources Reorganize provision playbook 2021-11-05 22:31:09 -04:00
roles/server Reorganize provision playbook 2021-11-05 22:31:09 -04:00
tasks/meta Add general configuration playbook 2021-11-05 21:53:03 -04:00
vars Fix mismatched access targets for cluster operations 2021-11-05 23:11:30 -04:00
.gitignore Initial commit 2021-08-30 23:24:37 -04:00
.pre-commit-config.yaml Update precommit config to use local hooks 2021-08-30 23:24:43 -04:00
ansible Fix env var issues with hacky ansible script 2021-09-07 20:17:05 -04:00
ansible.cfg Remove SSH compression and INI inventory plugin 2021-09-04 23:57:03 -04:00
inventory.yaml Fix mismatched access targets for cluster operations 2021-11-05 23:11:30 -04:00
LICENSE.md Update MD files to use mdformat 2021-09-05 00:01:50 -04:00
poetry.lock Add ipython as dev dependency 2021-10-27 22:55:46 -04:00
pyproject.toml Add ipython as dev dependency 2021-10-27 22:55:46 -04:00
README.md Add pre-provisioning bootstrap checklist 2021-11-05 23:09:19 -04:00

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 of the ansible user to 1400 with this command:
sudo usermod -u 1400 ansible