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
Ethan Paul 02b6460cff
Add ssh port update to bootstrap playbook
Update to use dynamic managment settings
Remove check for existing bootstrap directory
Fix re-using ansible password for root user
2023-04-19 18:42:04 -04:00
inventory Add ssh port update to bootstrap playbook 2023-04-19 18:42:04 -04:00
skylab Add ssh port update to bootstrap playbook 2023-04-19 18:42:04 -04:00
.ansible-lint.yaml Add tox for static checks 2022-01-08 22:16:40 -05:00
.gitignore Add terraform proof of concept for DO domain management 2023-04-04 13:17:02 -04:00
.pre-commit-config.yaml Add terraform format precommit 2023-04-04 16:54:01 -04:00
.yamllintrc.yaml Add tox for static checks 2022-01-08 22:16:40 -05:00
ansible.cfg Restructure inventory for updated deployment schemas 2023-04-01 22:01:55 -04:00
LICENSE.md
link-local-collections.sh Add environment check to collection linking script 2021-12-23 23:25:40 -05:00
Makefile Update makefile to use latest poetry command syntax 2023-03-19 01:45:23 -04:00
poetry.lock Update with latest practices 2023-03-19 01:35:30 -04:00
pyproject.toml Update with latest practices 2023-03-19 01:35:30 -04:00
README.md Add fedora to list of supported OS's 2022-05-20 17:06:21 -04:00
requirements.yaml
tox.ini Update with latest practices 2023-03-19 01:35:30 -04:00

skylab-ansible

Ansible configs for the Skylab Homelab

Local workstation setup:

make dev
poetry run ansible-playbook ...

Boostraping remote system for management:

  1. Install a supported operating system: Rocky Linux, Fedora
  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