fp/ansible
CJ_Clippy e781d0a118
Some checks are pending
fp/our CI/CD / build (push) Waiting to run
ci / test (push) Waiting to run
use inline env var
2025-10-06 05:15:37 -08:00
..
2025-10-04 08:45:34 -08:00
2025-03-09 05:09:25 -07:00
2025-03-09 05:09:25 -07:00
2025-10-06 05:15:37 -08:00
2025-10-04 08:45:34 -08:00
2025-07-19 11:47:22 -08:00
2025-03-09 05:09:25 -07:00
2025-10-04 08:45:34 -08:00
2025-07-19 11:47:22 -08:00
2025-10-04 08:45:34 -08:00

futureporn ansible

Here we have playbooks to help provision infrastructure to do specific tasks.

Getting started

Dependencies

Install the necessary ansible galaxy roles & collections

ansible-galaxy role install -r requirements.yml
ansible-galaxy collection install -r requirements.yml

Generate an inventory file, via opentofu.

tofu 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.

Run playbook

ansible-playbook ./site.yml 

Available playbooks

bootstrap.yml

Prepare the instances for working with Ansible. This sets up SSH and ensures python is installed.