I could not get this working, but found the answer on the Discord channel. I had to use version "community.docker.docker_compose_v2" instead of "community.docker.docker_compose". Still not sure of all the reasons, but I think because on my Linux Mint server I have a manually installed version of Docker and Docker-compose. I am not using docker-compose installed with pip3. Thanks to the help I got on Discord, it is now working.
@@Jims-Garage I have "Docker Compose version v2.27.0" which is the one I am actually accessing. I was confused because I had also used pip3 which had installed "docker-compose-1.29.2" but apparently this is not what is being used.
Thanks for a great video Jim :) Was struggling a bit until it cam to my mind "maybe i should have traefik installed on my docker host first, before the nginx container would spin up" After that everything worked like a charm. Looking forward to start the kubernetes cluster part. :)
@@Jims-Garage Jim, can I be honest? I like Your style, You try to predict all of difficulties in homelabing. And Your tutorials are amazing. Never stop, flow is in You. Let yourself be carried away by this story. Thanks a lot of another pice of Your expirience!
@@PCMagikHomeLab really appreciate that feedback, good to hear that I'm striking the right balance. I'm eager to start the next series on building out the new lab. Another opportunity to start from scratch with a more advanced set-up and bring you guys along.
thanks and great video. Just to improve your Ansible script, you should consider using variables, for example for the folder owner and group it might be better to use {{ ansible_user }} instead hardcoding the user
Thanks for the idea! It should simply be a case of copying my Traefik video files over and deploying that instead. Edit: ooh just realised you mean adding the record to local DNS. Sure, that should be doable by performing a docker exec and modifying the record. I'll have to experiment.
Hi, Jim, I might have missed it, but have you done a tutorial on pulling down compose, playbook (and other) files from a public/private github repository using ansible-pull? Say, for example, where you did the builtin.copy for the nxginx compose to the remote, it would be cool if we could grab it from our github repos instead
@@Jims-Garage I'm really surprised to find out you don't work in IT. You are clearly very dedicated to your home lab. There's a lot of things I don't think I would ever have learned if I weren't using them at work.
Great explaining of the steps. Thank you.
Thanks, glad it helped.
I could not get this working, but found the answer on the Discord channel.
I had to use version "community.docker.docker_compose_v2" instead of "community.docker.docker_compose".
Still not sure of all the reasons, but I think because on my Linux Mint server I have a manually installed version of Docker and Docker-compose.
I am not using docker-compose installed with pip3.
Thanks to the help I got on Discord, it is now working.
Ok great. I think it's because docker-compose is deprecated and instead it's docker compose. I'll need to fix that.
@@Jims-Garage I have "Docker Compose version v2.27.0" which is the one I am actually accessing.
I was confused because I had also used pip3 which had installed "docker-compose-1.29.2" but apparently this is not what is being used.
Thanks for a great video Jim :) Was struggling a bit until it cam to my mind "maybe i should have traefik installed on my docker host first, before the nginx container would spin up" After that everything worked like a charm. Looking forward to start the kubernetes cluster part. :)
Thanks 👍
Thanks Jim 👍
MAN, like always, thumbs up!
Thanks, appreciate the feedback
@@Jims-Garage Jim, can I be honest? I like Your style, You try to predict all of difficulties in homelabing. And Your tutorials are amazing. Never stop, flow is in You. Let yourself be carried away by this story. Thanks a lot of another pice of Your expirience!
@@PCMagikHomeLab really appreciate that feedback, good to hear that I'm striking the right balance.
I'm eager to start the next series on building out the new lab. Another opportunity to start from scratch with a more advanced set-up and bring you guys along.
@@Jims-Garage I think it's really good idea, something simple for everyone. Sometimes I think to much, and simple solutions are the best🤔
thanks and great video. Just to improve your Ansible script, you should consider using variables, for example for the folder owner and group it might be better to use {{ ansible_user }} instead hardcoding the user
Thanks, I agree. I am going to cover variables, roles etc soon
Thanks for your hard work on this stuff mate! I would have been really nice to also have Ansible manage that DNS record for that demo website too!
Thanks for the idea! It should simply be a case of copying my Traefik video files over and deploying that instead.
Edit: ooh just realised you mean adding the record to local DNS. Sure, that should be doable by performing a docker exec and modifying the record. I'll have to experiment.
Was going to say, but someone already did...😂
Hey Jim, Thanks for this great video, Looking forward for more Ansible videos combining Kubernetes tasks in the near future👌👌
👌
Thanks, a few more videos covering the basics before we get onto the exciting stuff
@@Jims-Garage That's the way, cheers!! 😉😉😉
Nice video 👌 been trying to make my home lab as code and this helped a lot.
Thanks, hope it helps
Hi, Jim, I might have missed it, but have you done a tutorial on pulling down compose, playbook (and other) files from a public/private github repository using ansible-pull? Say, for example, where you did the builtin.copy for the nxginx compose to the remote, it would be cool if we could grab it from our github repos instead
I haven't, I am considering doing it in future. It's thankfully pretty simple.
How long have you been using ansible? Is this something you use in your day job?
On and off for a few years, only in a homelab capacity. I don't work in IT Ops.
@@Jims-Garage I'm really surprised to find out you don't work in IT. You are clearly very dedicated to your home lab. There's a lot of things I don't think I would ever have learned if I weren't using them at work.
@@jdratlif I do work in InfoSec but don't really use any of this stuff in day to day. I do it to understand IT Ops.
little nitpicking: 4:15: you forgot to explain the "enabled" ;)
😏ansible copy?
Fixed 😁
all lower case... super low key copying
Oops I forgot to change the title 😂
Too Late uploads
Let me know your schedule and I'll try to satisfy it 😉