Ansible configuration repo for the Skylab (my homelab)
Ethan Paul
fe0fc835cd
Add makefile and targets for building local dev environment Add script for linking dev collections into local collection dir Add local collection dir to gitignore |
||
---|---|---|
skylab/core | ||
.gitignore | ||
.pre-commit-config.yaml | ||
ansible | ||
ansible.cfg | ||
dynamically-link-local-collections.bash | ||
inventory.yaml | ||
LICENSE.md | ||
Makefile | ||
poetry.lock | ||
pyproject.toml | ||
README.md | ||
requirements.yaml |
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:
- Install a supported operating system: Rocky Linux
- During installation create a user named
ansible
with any password - After installation copy SSH key to the
ansible
user - Enable password-less sudo access for the
ansible
user with this command:
sudo tee /etc/sudoers.d/30-ansible <<<"ansible ALL=(ALL) NOPASSWD:ALL"
- Change the UID/GID of the
ansible
user/group to1400
with these commands:
sudo usermod -u 1400 ansible
sudo groupmod -g 1400 ansible