754 B
754 B
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.