Checkins for a raspberry pi setup and k3s cluster I'm playing around with.
Ansible install:
$ sudo apt install ansible-core
Terraform install: https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli#install-terraform
Required non-checked files:
ansible/inventory/pi
:[common] <FILL IN> [artifactors] <FILL IN> [all:vars] ansible_python_interpreter=/usr/bin/python3
ansible/roles/common/vars/vars.yml
:pub_ssh_key_path: <FILL IN>
ansible/roles/workers/vars/vars.yml
:k3s_token: <FILL IN> k3s_url: <FILL IN>
terraform/nexus/local.tfvars
:nexus_url = <FILL IN> nexus_username = <FILL IN> nexus_password = <FILL IN> nexus_docker_repo_port = <FILL IN>
Quick and dirty script for randoomly selecting and rendering a months worth of recipes. Deployed as a Deployment+NodePort Service so I can bring up the website locally from my phone or laptop (whichever is more convenient at the time).
Recipes are stored in a JSON file in a private repository shared with my partner. This repo has CD setup to push the JSON file's latest state to S3, which is then pulled by this script to make sure recipes are populated. While we could just pull from the GitHub repo itself, CD in this way is far more fun!