Skip to content

tomvanveen/learn-ansible-terraform-k3s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learn-ansible-terraform-k3s

After watching a video by @techno-tim where he creates a virtual machine template in proxmox with Ubuntu cloud images/init I wanted to try this myself and get some hands on experience with ansible, terraform and kubernetes (k3s).

In this repo you can find my first attempt at writing a ansible playbook that will create a VM template with the Ubuntu jammy cloud image. Create you inventory file in the ansible folder and run the playbook to give it a try.

After the template is created terraform can be used to created VMs that will use the settings from the template

As a final step I run the k3s ansible playbook to install k3s on my freshly created VMs.

Use the terraform proxmox module with username and password

export PM_USER="terraform-prov@pve" export PM_PASS="password"

References:

ToDo:

  • check out the ansible provider in terraform

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published