Tuesday Tech Tip - Automating Proxmox with Ansible and Terraform

Поделиться
HTML-код
  • Опубликовано: 5 янв 2025

Комментарии • 21

  • @WillYouVid
    @WillYouVid Год назад +5

    Thank you! Really useful to automate the deployment of my current setup

  • @michaelcooper5490
    @michaelcooper5490 2 года назад +1

    Brett That is awesome wow what a beautiful way to manage your cluster. Good Job, Great Video.

  • @100konglish
    @100konglish 3 месяца назад

    Does this process also give it a new 'hostname?' everytime you deploy a new one?
    I've been trying to do this with just terraform, but everytime it uses the same hostname I deploy a new machine

  • @jimbrannlund4677
    @jimbrannlund4677 5 месяцев назад

    Why do you need to create the first template by hand? Isn't it possible to do that using the Proxmox API/Proxmoxer/Ansible?

  • @1337kaas
    @1337kaas Год назад

    Interesting stuff, good idea to let terraform talk to the proxmox api.

  • @techwithgriggs2879
    @techwithgriggs2879 9 месяцев назад

    So this doesn't work anymore :( after 4 hours, I can get a vm to spin up but the Terreform package is now depreciated and broken/crashing :(

    • @ekaumsingh2738
      @ekaumsingh2738 6 месяцев назад +1

      Which Terraform plugin are you using? Telmate is deprecated but bpg is actively maintained and reliable

    • @techwithgriggs2879
      @techwithgriggs2879 6 месяцев назад

      @@ekaumsingh2738 i actually got the telemate one working as I didn’t know about the other fork (video doesn’t reference it) I’ll take a look thanks!

  • @vinvvinv7460
    @vinvvinv7460 2 года назад +2

    Hi,
    Can you please make a video & explain how to write an ansible playbook in a very simple way? It's a bit confusing regarding spaces & hypens. I think it's called indentation. In Terraform as well it's used spaces curly brackets etc,, I am not from a programming background. Please, it's a request. Please do reply
    Thanks & regards

    • @crashtfa
      @crashtfa 2 года назад +2

      The best way to learn is to follow the redhat learn ansible lab, it’s free and uses a vs code plugin to help keep your code looking clean using ansible lint

    • @dominick253
      @dominick253 Год назад

      Just have chat gpt format it.

  • @DudeItsDallyBoy
    @DudeItsDallyBoy 2 месяца назад

    Neat now to pipeline this and trow it onto a repo so you can just create a .tf file for the vm you want, and this will go and create the build for you using self hosted action runners

  • @GundamExia88
    @GundamExia88 Год назад +1

    Great video. Do you install terraform and ansible on proxmox itself or on another VM?

    • @JohnathanMaravilla
      @JohnathanMaravilla Год назад +1

      Kinda crazy that this questions wasn't answered

    • @whiskerjones9662
      @whiskerjones9662 Год назад

      it's recommended to install tools like Terraform and Ansible on a separate VM - however, for small setups or testing environments, installing directly on Proxmox could be more straightforward and resource-efficient. Just depends on the situation

    • @GundamExia88
      @GundamExia88 Год назад

      Yea, I was thinking the same. Most likely on VM or if LXC container works, I would install ansible/terraform on those.

    • @whiskerjones9662
      @whiskerjones9662 11 месяцев назад

      @@GundamExia88If you ask Dell, HP Cisco or any other server OEM, they will tell you bare metal is best for each of these tools! lol. LXC and some Llinux networking skills is a great combo to learn for sure - cuts out a lot of needless hardware and latency.

  • @Mavo1989
    @Mavo1989 7 месяцев назад

    This dude made this fun to watch - neurodivergence at its best :)

  • @rgsaura
    @rgsaura Год назад

    this is quite complex, i u would have gone a bit more step by step in the terraform and ansible set up

    • @floriantthebault521
      @floriantthebault521 3 месяца назад

      Well, the video is interestnig, but it does lack a more in-depth step-by-step approach. As is, it's nearly unusable for someone who starts on this use-case 🤷🏻‍♂

  • @TheRoosterLIVE
    @TheRoosterLIVE 7 месяцев назад +1

    LIGHT THEME??????????? ewwww