Ansible playbooks for k-space.ee infrastructure
templates | ||
zrepl | ||
.gitignore | ||
ansible.cfg | ||
authoritative-nameserver.yaml | ||
door-controllers.yaml | ||
inventory.yaml | ||
known_hosts | ||
kubernetes-nodes.yaml | ||
README.md | ||
ssh_config | ||
update-ssh-config.yaml |
Ansible playbooks
This repository contains Ansible playbooks used to configure parts of the hackerspace infrastructure:
- Kubernetes dependency deployment and upgrading
- Authorized SSH keys
- Authoritative DNS server configuration for hackerspace domains
- Door controller software deployment
Most notably out of scope of this repository are:
- Kubernetes manifests of applications running on the Kubernetes cluster, they can be found at https://git.k-space.ee/k-space/kube
- Mikrotik router and switch configurations backed up at https://git.k-space.ee/k-space/rosdump
Contents
Once you've checked out repo you can try pinging the hosts:
ansible all -m ping
Check OS version:
ansible all -m shell -a "lsb_release -d"
Update SSH authorized keys on the hosts:
ansible-playbook update-ssh-config.yaml
Update mjpg-streamer
on the door controllers:
ansible doors -m shell \
-a "ctr image pull harbor.k-space.ee/k-space/mjpg-streamer:latest"
For more playbooks refer to *.yaml
files in this repository