Ansible configuration repo for the Skylab (my homelab)
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.
 
 
 
Ethan Paul 11235ab859
Fix typo in bashrc for setting ansible path
2 days ago
skylab/core Fix typo in bashrc for setting ansible path 2 days ago
.ansible-lint.yaml Add tox for static checks 5 months ago
.gitignore Add tox for static checks 5 months ago
.pre-commit-config.yaml Update precommit config to use local hooks 9 months ago
.yamllintrc.yaml Add tox for static checks 5 months ago
LICENSE.md Update MD files to use mdformat 9 months ago
Makefile Add tox for static checks 5 months ago
README.md Add fedora to list of supported OS's 6 days ago
ansible.cfg Consolidate ansible settings into config file 5 months ago
inventory.yaml Add voyager workstation to inventory 6 days ago
link-local-collections.sh Add environment check to collection linking script 5 months ago
poetry.lock Add tox for static checks 5 months ago
pyproject.toml Add tox for static checks 5 months ago
requirements.yaml Rename requirements file to keep consistent file ext 5 months ago
tox.ini Add tox for static checks 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:

  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