skylab
/
skylab-ansible
Archived
2
0
Fork 0
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 46e1366c4f
Update service config spec to include published resources
2021-12-23 23:36:13 -05:00
skylab/core Update service config spec to include published resources 2021-12-23 23:36:13 -05:00
.env Replace hacky ansible entrypoint script with dotenv file 2021-12-23 23:25:40 -05:00
.gitignore Add logic for building local ansible 'virtualenv' 2021-12-20 18:44:48 -05:00
.pre-commit-config.yaml Update precommit config to use local hooks 2021-08-30 23:24:43 -04:00
LICENSE.md Update MD files to use mdformat 2021-09-05 00:01:50 -04:00
Makefile Add environment check to collection linking script 2021-12-23 23:25:40 -05:00
README.md Update documentation 2021-12-23 23:27:00 -05:00
ansible.cfg Remove SSH compression and INI inventory plugin 2021-09-04 23:57:03 -04:00
inventory.yaml Fix incorrect netdev type key name 2021-12-11 15:59:09 -05:00
link-local-collections.sh Add environment check to collection linking script 2021-12-23 23:25:40 -05:00
poetry.lock Bump ansible to ^4.9 2021-12-11 15:59:09 -05:00
pyproject.toml Bump ansible to ^4.9 2021-12-11 15:59:09 -05:00
requirements.yaml Rename requirements file to keep consistent file ext 2021-12-20 18:34:45 -05:00

README.md

skylab-ansible

Ansible configs for the Skylab Homelab

Local workstation setup:

make dev
poetry shell
source .env

Boostraping remote system for management:

  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