Ansible playbooks for k-space.ee infrastructure
Go to file
2024-10-25 14:45:26 +03:00
templates Separate from Kubernetes repo 2024-08-12 21:36:48 +03:00
zrepl Separate from Kubernetes repo 2024-08-12 21:36:48 +03:00
.gitignore Separate from Kubernetes repo 2024-08-12 21:36:48 +03:00
ansible.cfg Separate from Kubernetes repo 2024-08-12 21:36:48 +03:00
authoritative-nameserver.yaml whitelist new cm workers in bind config 2024-08-22 14:01:34 +03:00
door-controllers.yaml Separate from Kubernetes repo 2024-08-12 21:36:48 +03:00
inventory.yaml add nvr.kube.k-space.ee 2024-10-19 13:53:22 +03:00
known_hosts update known_hosts 2024-10-25 14:45:26 +03:00
kubernetes-nodes.yaml optimize creating new node with playbook 2024-10-19 13:53:46 +03:00
README.md Separate from Kubernetes repo 2024-08-12 21:36:48 +03:00
ssh_config add nvr.kube.k-space.ee 2024-10-19 13:53:22 +03:00
update-ssh-config.yaml Separate from Kubernetes repo 2024-08-12 21:36:48 +03:00

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:

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