26 lines
776 B
Markdown

# futureporn ansible
Here we have playbooks to help provision infrastructure to do specific tasks.
## Inventory
Terraform handles spinning up Vultr instances. See `../terraform` for that. Also, Terraform is where we get our Ansible inventory, so make sure to run `tofu apply` in `../terraform` before working with Ansible.
## Available plays
### bootstrap.yml
Prepare the instances for working with Ansible. This sets up SSH and ensures python is installed.
### k3s-ansible
Provision the instances to act as a k3s cluster.
@see https://github.com/k3s-io/k3s-ansible/tree/master
tl;dr: `ansible-playbook k3s.orchestration.site`
### site.yml
Sets up all the instances to perform bright.futureporn.net workloads. Includes setting up Dokku to work with k3s-scheduler.