You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 days ago | |
---|---|---|
skylab/core | 2 days ago | |
.ansible-lint.yaml | 5 months ago | |
.gitignore | 5 months ago | |
.pre-commit-config.yaml | 9 months ago | |
.yamllintrc.yaml | 5 months ago | |
LICENSE.md | 9 months ago | |
Makefile | 5 months ago | |
README.md | 6 days ago | |
ansible.cfg | 5 months ago | |
inventory.yaml | 6 days ago | |
link-local-collections.sh | 5 months ago | |
poetry.lock | 5 months ago | |
pyproject.toml | 5 months ago | |
requirements.yaml | 5 months ago | |
tox.ini | 5 months ago |
README.md
skylab-ansible
Ansible configs for the Skylab Homelab
Local workstation setup:
make dev
poetry run ansible-playbook ...
Boostraping remote system for management:
- Install a supported operating system: Rocky Linux, Fedora
- 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